public class Payment extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Payment.Builder
Class to build instances of
Payment |
Constructor and Description |
---|
Payment(String id,
String createdAt,
String updatedAt,
Money amountMoney,
Money tipMoney,
Money totalMoney,
Money appFeeMoney,
List<ProcessingFee> processingFee,
Money refundedMoney,
String status,
String delayDuration,
String delayAction,
String delayedUntil,
String sourceType,
CardPaymentDetails cardDetails,
String locationId,
String orderId,
String referenceId,
String customerId,
String employeeId,
List<String> refundIds,
String buyerEmailAddress,
Address billingAddress,
Address shippingAddress,
String note,
String statementDescriptionIdentifier,
String receiptNumber,
String receiptUrl)
Initialization constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Money |
getAmountMoney()
Getter for AmountMoney.
|
Money |
getAppFeeMoney()
Getter for AppFeeMoney.
|
Address |
getBillingAddress()
Getter for BillingAddress.
|
String |
getBuyerEmailAddress()
Getter for BuyerEmailAddress.
|
CardPaymentDetails |
getCardDetails()
Getter for CardDetails.
|
String |
getCreatedAt()
Getter for CreatedAt.
|
String |
getCustomerId()
Getter for CustomerId.
|
String |
getDelayAction()
Getter for DelayAction.
|
String |
getDelayDuration()
Getter for DelayDuration.
|
String |
getDelayedUntil()
Getter for DelayedUntil.
|
String |
getEmployeeId()
Getter for EmployeeId.
|
String |
getId()
Getter for Id.
|
String |
getLocationId()
Getter for LocationId.
|
String |
getNote()
Getter for Note.
|
String |
getOrderId()
Getter for OrderId.
|
List<ProcessingFee> |
getProcessingFee()
Getter for ProcessingFee.
|
String |
getReceiptNumber()
Getter for ReceiptNumber.
|
String |
getReceiptUrl()
Getter for ReceiptUrl.
|
String |
getReferenceId()
Getter for ReferenceId.
|
Money |
getRefundedMoney()
Getter for RefundedMoney.
|
List<String> |
getRefundIds()
Getter for RefundIds.
|
Address |
getShippingAddress()
Getter for ShippingAddress.
|
String |
getSourceType()
Getter for SourceType.
|
String |
getStatementDescriptionIdentifier()
Getter for StatementDescriptionIdentifier.
|
String |
getStatus()
Getter for Status.
|
Money |
getTipMoney()
Getter for TipMoney.
|
Money |
getTotalMoney()
Getter for TotalMoney.
|
String |
getUpdatedAt()
Getter for UpdatedAt.
|
int |
hashCode() |
Payment.Builder |
toBuilder()
Builds a new
Payment.Builder object. |
public Payment(String id, String createdAt, String updatedAt, Money amountMoney, Money tipMoney, Money totalMoney, Money appFeeMoney, List<ProcessingFee> processingFee, Money refundedMoney, String status, String delayDuration, String delayAction, String delayedUntil, String sourceType, CardPaymentDetails cardDetails, String locationId, String orderId, String referenceId, String customerId, String employeeId, List<String> refundIds, String buyerEmailAddress, Address billingAddress, Address shippingAddress, String note, String statementDescriptionIdentifier, String receiptNumber, String receiptUrl)
id
- createdAt
- updatedAt
- amountMoney
- tipMoney
- totalMoney
- appFeeMoney
- processingFee
- refundedMoney
- status
- delayDuration
- delayAction
- delayedUntil
- sourceType
- cardDetails
- locationId
- orderId
- referenceId
- customerId
- employeeId
- refundIds
- buyerEmailAddress
- billingAddress
- shippingAddress
- note
- statementDescriptionIdentifier
- receiptNumber
- receiptUrl
- public String getId()
public String getCreatedAt()
public String getUpdatedAt()
public Money getAmountMoney()
public Money getTipMoney()
public Money getTotalMoney()
public Money getAppFeeMoney()
public List<ProcessingFee> getProcessingFee()
public Money getRefundedMoney()
public String getStatus()
public String getDelayDuration()
public String getDelayAction()
public String getDelayedUntil()
public String getSourceType()
public CardPaymentDetails getCardDetails()
public String getLocationId()
public String getOrderId()
public String getReferenceId()
public String getCustomerId()
public String getEmployeeId()
public List<String> getRefundIds()
public String getBuyerEmailAddress()
public Address getBillingAddress()
public Address getShippingAddress()
public String getNote()
public String getStatementDescriptionIdentifier()
public String getReceiptNumber()
public String getReceiptUrl()
public Payment.Builder toBuilder()
Payment.Builder
object.
Creates the instance with the state of the current model.Payment.Builder
objectCopyright © 2020. All rights reserved.