public class Tender extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Tender.Builder
Class to build instances of
Tender. |
| Constructor and Description |
|---|
Tender(String type,
String id,
String locationId,
String transactionId,
String createdAt,
String note,
Money amountMoney,
Money tipMoney,
Money processingFeeMoney,
String customerId,
TenderCardDetails cardDetails,
TenderCashDetails cashDetails,
List<AdditionalRecipient> additionalRecipients,
String paymentId)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<AdditionalRecipient> |
getAdditionalRecipients()
Getter for AdditionalRecipients.
|
Money |
getAmountMoney()
Getter for AmountMoney.
|
TenderCardDetails |
getCardDetails()
Getter for CardDetails.
|
TenderCashDetails |
getCashDetails()
Getter for CashDetails.
|
String |
getCreatedAt()
Getter for CreatedAt.
|
String |
getCustomerId()
Getter for CustomerId.
|
String |
getId()
Getter for Id.
|
String |
getLocationId()
Getter for LocationId.
|
String |
getNote()
Getter for Note.
|
String |
getPaymentId()
Getter for PaymentId.
|
Money |
getProcessingFeeMoney()
Getter for ProcessingFeeMoney.
|
Money |
getTipMoney()
Getter for TipMoney.
|
String |
getTransactionId()
Getter for TransactionId.
|
String |
getType()
Getter for Type.
|
int |
hashCode() |
Tender.Builder |
toBuilder()
Builds a new
Tender.Builder object. |
String |
toString()
Converts this Tender into string format.
|
public Tender(String type, String id, String locationId, String transactionId, String createdAt, String note, Money amountMoney, Money tipMoney, Money processingFeeMoney, String customerId, TenderCardDetails cardDetails, TenderCashDetails cashDetails, List<AdditionalRecipient> additionalRecipients, String paymentId)
type - String value for type.id - String value for id.locationId - String value for locationId.transactionId - String value for transactionId.createdAt - String value for createdAt.note - String value for note.amountMoney - Money value for amountMoney.tipMoney - Money value for tipMoney.processingFeeMoney - Money value for processingFeeMoney.customerId - String value for customerId.cardDetails - TenderCardDetails value for cardDetails.cashDetails - TenderCashDetails value for cashDetails.additionalRecipients - List of AdditionalRecipient value for additionalRecipients.paymentId - String value for paymentId.public String getId()
public String getLocationId()
public String getTransactionId()
public String getCreatedAt()
public String getNote()
public Money getAmountMoney()
public Money getTipMoney()
public Money getProcessingFeeMoney()
public String getCustomerId()
public String getType()
public TenderCardDetails getCardDetails()
public TenderCashDetails getCashDetails()
public List<AdditionalRecipient> getAdditionalRecipients()
public String getPaymentId()
public String toString()
public Tender.Builder toBuilder()
Tender.Builder object.
Creates the instance with the state of the current model.Tender.Builder objectCopyright © 2022. All rights reserved.