Class CartBase
Class CartBase
Base properties of a cart resource
- PayPal\Common\PayPalModel
- PayPal\Api\CartBase
Direct known subclasses
Indirect known subclasses
Methods summary
public
|
#
setReferenceId( string $reference_id )
Merchant identifier to the purchase unit. Optional parameter |
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
setPurchaseOrder( string $purchase_order )
purchase order is number or id specific to this payment |
public
string
|
|
public
|
#
setSoftDescriptor( string $soft_descriptor )
Soft descriptor used when charging this funding source. If length exceeds max length, the value will be truncated |
public
string
|
#
getSoftDescriptor( )
Soft descriptor used when charging this funding source. If length exceeds max length, the value will be truncated |
public
|
#
setSoftDescriptorCity( string $soft_descriptor_city )
Soft descriptor city used when charging this funding source. If length exceeds max length, the value will be truncated. Only supported when the |
public
string
|
#
getSoftDescriptorCity( )
Soft descriptor city used when charging this funding source. If length exceeds max length, the value will be truncated. Only supported when the |
public
|
#
setPaymentOptions(
Payment options requested for this purchase unit |
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
setExternalFunding(
List of external funding being applied to the purchase unit. Each external_funding unit should have a unique reference_id |
public
|
#
getExternalFunding( )
List of external funding being applied to the purchase unit. Each external_funding unit should have a unique reference_id |
public
|
#
addExternalFunding(
Append ExternalFunding to the list. |
public
|
#
removeExternalFunding(
Remove ExternalFunding from the list. |
Methods inherited from PayPal\Common\PayPalModel
__construct()
,
__get()
,
__isset()
,
__set()
,
__toString()
,
__unset()
,
fromArray()
,
fromJson()
,
getList()
,
setCredential()
,
toArray()
,
toJSON()