public class Tender extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Tender.Builder
Class to build instances of
Tender. |
| Modifier | Constructor and Description |
|---|---|
protected |
Tender(String type,
String id,
io.apimatic.core.types.OptionalNullable<String> locationId,
io.apimatic.core.types.OptionalNullable<String> transactionId,
String createdAt,
io.apimatic.core.types.OptionalNullable<String> note,
Money amountMoney,
Money tipMoney,
Money processingFeeMoney,
io.apimatic.core.types.OptionalNullable<String> customerId,
TenderCardDetails cardDetails,
TenderCashDetails cashDetails,
io.apimatic.core.types.OptionalNullable<List<AdditionalRecipient>> additionalRecipients,
io.apimatic.core.types.OptionalNullable<String> paymentId)
Internal initialization constructor.
|
|
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() |
protected io.apimatic.core.types.OptionalNullable<List<AdditionalRecipient>> |
internalGetAdditionalRecipients()
Internal Getter for AdditionalRecipients.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetCustomerId()
Internal Getter for CustomerId.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetLocationId()
Internal Getter for LocationId.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetNote()
Internal Getter for Note.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetPaymentId()
Internal Getter for PaymentId.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetTransactionId()
Internal Getter for TransactionId.
|
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.protected Tender(String type, String id, io.apimatic.core.types.OptionalNullable<String> locationId, io.apimatic.core.types.OptionalNullable<String> transactionId, String createdAt, io.apimatic.core.types.OptionalNullable<String> note, Money amountMoney, Money tipMoney, Money processingFeeMoney, io.apimatic.core.types.OptionalNullable<String> customerId, TenderCardDetails cardDetails, TenderCashDetails cashDetails, io.apimatic.core.types.OptionalNullable<List<AdditionalRecipient>> additionalRecipients, io.apimatic.core.types.OptionalNullable<String> paymentId)
public String getId()
protected io.apimatic.core.types.OptionalNullable<String> internalGetLocationId()
public String getLocationId()
protected io.apimatic.core.types.OptionalNullable<String> internalGetTransactionId()
public String getTransactionId()
public String getCreatedAt()
protected io.apimatic.core.types.OptionalNullable<String> internalGetNote()
public String getNote()
public Money getAmountMoney()
public Money getTipMoney()
public Money getProcessingFeeMoney()
protected io.apimatic.core.types.OptionalNullable<String> internalGetCustomerId()
public String getCustomerId()
public String getType()
public TenderCardDetails getCardDetails()
public TenderCashDetails getCashDetails()
protected io.apimatic.core.types.OptionalNullable<List<AdditionalRecipient>> internalGetAdditionalRecipients()
public List<AdditionalRecipient> getAdditionalRecipients()
protected io.apimatic.core.types.OptionalNullable<String> internalGetPaymentId()
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 © 2023. All rights reserved.