PHP 클래스 PayPal\Api\Incentive

A resource representing a incentive.
상속: extends PayPal\Common\PayPalModel
파일 보기 프로젝트 열기: paypal/rest-api-sdk-php 1 사용 예제들

공개 메소드들

메소드 설명
getCode ( ) : string Code that identifies the incentive.
getDescription ( ) : string Description of the incentive.
getExpiryDate ( ) : string expiry date of the incentive.
getId ( ) : string Identifier of the instrument in PayPal Wallet
getLogoImageUrl ( ) : string Logo image url for the incentive.
getMinimumPurchaseAmount ( ) : PayPal\Api\Currency Indicates incentive is applicable for this minimum purchase amount.
getName ( ) : string Name of the incentive.
getTerms ( ) : string URI to the associated terms
getType ( ) : string Specifies type of incentive
setCode ( string $code ) Code that identifies the incentive.
setDescription ( string $description ) Description of the incentive.
setExpiryDate ( string $expiry_date ) expiry date of the incentive.
setId ( string $id ) Identifier of the instrument in PayPal Wallet
setLogoImageUrl ( string $logo_image_url ) Logo image url for the incentive.
setMinimumPurchaseAmount ( PayPal\Api\Currency $minimum_purchase_amount ) Indicates incentive is applicable for this minimum purchase amount.
setName ( string $name ) Name of the incentive.
setTerms ( string $terms ) URI to the associated terms
setType ( string $type ) Specifies type of incentive Valid Values: ["COUPON", "GIFT_CARD", "MERCHANT_SPECIFIC_BALANCE", "VOUCHER"]

메소드 상세

getCode() 공개 메소드

Code that identifies the incentive.
public getCode ( ) : string
리턴 string

getDescription() 공개 메소드

Description of the incentive.
public getDescription ( ) : string
리턴 string

getExpiryDate() 공개 메소드

expiry date of the incentive.
public getExpiryDate ( ) : string
리턴 string

getId() 공개 메소드

Identifier of the instrument in PayPal Wallet
public getId ( ) : string
리턴 string

getLogoImageUrl() 공개 메소드

Logo image url for the incentive.
public getLogoImageUrl ( ) : string
리턴 string

getMinimumPurchaseAmount() 공개 메소드

Indicates incentive is applicable for this minimum purchase amount.
public getMinimumPurchaseAmount ( ) : PayPal\Api\Currency
리턴 PayPal\Api\Currency

getName() 공개 메소드

Name of the incentive.
public getName ( ) : string
리턴 string

getTerms() 공개 메소드

URI to the associated terms
public getTerms ( ) : string
리턴 string

getType() 공개 메소드

Specifies type of incentive
public getType ( ) : string
리턴 string

setCode() 공개 메소드

Code that identifies the incentive.
public setCode ( string $code )
$code string

setDescription() 공개 메소드

Description of the incentive.
public setDescription ( string $description )
$description string

setExpiryDate() 공개 메소드

expiry date of the incentive.
public setExpiryDate ( string $expiry_date )
$expiry_date string

setId() 공개 메소드

Identifier of the instrument in PayPal Wallet
public setId ( string $id )
$id string

setLogoImageUrl() 공개 메소드

Logo image url for the incentive.
public setLogoImageUrl ( string $logo_image_url )
$logo_image_url string

setMinimumPurchaseAmount() 공개 메소드

Indicates incentive is applicable for this minimum purchase amount.
public setMinimumPurchaseAmount ( PayPal\Api\Currency $minimum_purchase_amount )
$minimum_purchase_amount PayPal\Api\Currency

setName() 공개 메소드

Name of the incentive.
public setName ( string $name )
$name string

setTerms() 공개 메소드

URI to the associated terms
public setTerms ( string $terms )
$terms string

setType() 공개 메소드

Specifies type of incentive Valid Values: ["COUPON", "GIFT_CARD", "MERCHANT_SPECIFIC_BALANCE", "VOUCHER"]
public setType ( string $type )
$type string