public class CartBase extends PayPalModel
| Constructor and Description |
|---|
CartBase()
Default Constructor
|
CartBase(Amount amount)
Parameterized Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
Amount |
getAmount()
Amount being collected.
|
java.lang.String |
getCustom()
free-form field for the use of clients
|
java.lang.String |
getDescription()
Description of what is being paid for.
|
java.util.List<ExternalFunding> |
getExternalFunding()
List of external funding being applied to the purchase unit.
|
java.lang.String |
getInvoiceNumber()
invoice number to track this payment
|
ItemList |
getItemList()
List of items being paid for.
|
java.lang.String |
getNoteToPayee()
Note to the recipient of the funds in this transaction.
|
java.lang.String |
getNotifyUrl()
URL to send payment notifications
|
java.lang.String |
getOrderUrl()
Url on merchant site pertaining to this payment.
|
Payee |
getPayee()
Recipient of the funds in this transaction.
|
PaymentOptions |
getPaymentOptions()
Payment options requested for this purchase unit
|
java.lang.String |
getReferenceId()
Merchant identifier to the purchase unit.
|
java.lang.String |
getSoftDescriptor()
Soft descriptor used when charging this funding source.
|
java.lang.String |
getSoftDescriptorCity()
Soft descriptor city used when charging this funding source.
|
int |
hashCode() |
CartBase |
setAmount(Amount amount)
Amount being collected.
|
CartBase |
setCustom(java.lang.String custom)
free-form field for the use of clients
|
CartBase |
setDescription(java.lang.String description)
Description of what is being paid for.
|
CartBase |
setExternalFunding(java.util.List<ExternalFunding> externalFunding)
List of external funding being applied to the purchase unit.
|
CartBase |
setInvoiceNumber(java.lang.String invoiceNumber)
invoice number to track this payment
|
CartBase |
setItemList(ItemList itemList)
List of items being paid for.
|
CartBase |
setNoteToPayee(java.lang.String noteToPayee)
Note to the recipient of the funds in this transaction.
|
CartBase |
setNotifyUrl(java.lang.String notifyUrl)
URL to send payment notifications
|
CartBase |
setOrderUrl(java.lang.String orderUrl)
Url on merchant site pertaining to this payment.
|
CartBase |
setPayee(Payee payee)
Recipient of the funds in this transaction.
|
CartBase |
setPaymentOptions(PaymentOptions paymentOptions)
Payment options requested for this purchase unit
|
CartBase |
setReferenceId(java.lang.String referenceId)
Merchant identifier to the purchase unit.
|
CartBase |
setSoftDescriptor(java.lang.String softDescriptor)
Soft descriptor used when charging this funding source.
|
CartBase |
setSoftDescriptorCity(java.lang.String softDescriptorCity)
Soft descriptor city used when charging this funding source.
|
toJSON, toStringpublic CartBase()
public CartBase(Amount amount)
public java.lang.String getReferenceId()
public Amount getAmount()
public Payee getPayee()
public java.lang.String getDescription()
public java.lang.String getNoteToPayee()
public java.lang.String getCustom()
public java.lang.String getInvoiceNumber()
public java.lang.String getSoftDescriptor()
public java.lang.String getSoftDescriptorCity()
public PaymentOptions getPaymentOptions()
public ItemList getItemList()
public java.lang.String getNotifyUrl()
public java.lang.String getOrderUrl()
public java.util.List<ExternalFunding> getExternalFunding()
public CartBase setReferenceId(java.lang.String referenceId)
public CartBase setPayee(Payee payee)
public CartBase setDescription(java.lang.String description)
public CartBase setNoteToPayee(java.lang.String noteToPayee)
public CartBase setCustom(java.lang.String custom)
public CartBase setInvoiceNumber(java.lang.String invoiceNumber)
public CartBase setSoftDescriptor(java.lang.String softDescriptor)
public CartBase setSoftDescriptorCity(java.lang.String softDescriptorCity)
public CartBase setPaymentOptions(PaymentOptions paymentOptions)
public CartBase setItemList(ItemList itemList)
public CartBase setNotifyUrl(java.lang.String notifyUrl)
public CartBase setOrderUrl(java.lang.String orderUrl)
public CartBase setExternalFunding(java.util.List<ExternalFunding> externalFunding)
public boolean equals(java.lang.Object o)
equals in class PayPalModelprotected boolean canEqual(java.lang.Object other)
canEqual in class PayPalModelpublic int hashCode()
hashCode in class PayPalModel