PHP Class PayPal\EBLBaseComponents\DiscountType

Inheritance: extends PayPal\Core\PPXmlMessage
Show file Open project: paypal/merchant-sdk-php

Public Properties

Property Type Description
$Amount PayPal\CoreComponentTypes\BasicAmountType amount discountedOptional
$Description string description of the discountOptional Character length and limits: 127 single-byte characters
$Name string Item nameOptional Character length and limits: 127 single-byte characters
$RedeemedOfferID string offer IDOptional Character length and limits: 64 single-byte characters
$RedeemedOfferType string offer typeOptional

Public Methods

Method Description
__construct ( $Amount = null ) Constructor with arguments

Method Details

__construct() public method

Constructor with arguments
public __construct ( $Amount = null )

Property Details

$Amount public property

amount discountedOptional
public BasicAmountType,PayPal\CoreComponentTypes $Amount
return PayPal\CoreComponentTypes\BasicAmountType

$Description public property

description of the discountOptional Character length and limits: 127 single-byte characters
public string $Description
return string

$Name public property

Item nameOptional Character length and limits: 127 single-byte characters
public string $Name
return string

$RedeemedOfferID public property

offer IDOptional Character length and limits: 64 single-byte characters
public string $RedeemedOfferID
return string

$RedeemedOfferType public property

offer typeOptional
public string $RedeemedOfferType
return string