PHP Класс PayPal\Api\Incentive

A resource representing a incentive.
Наследование: extends PayPal\Common\PayPalModel
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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