public class CreatePaymentRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CreatePaymentRequest.Builder
Class to build instances of
CreatePaymentRequest. |
| Constructor and Description |
|---|
CreatePaymentRequest(String sourceId,
String idempotencyKey,
Money amountMoney,
Money tipMoney,
Money appFeeMoney,
String delayDuration,
Boolean autocomplete,
String orderId,
String customerId,
String locationId,
String teamMemberId,
String referenceId,
String verificationToken,
Boolean acceptPartialAuthorization,
String buyerEmailAddress,
Address billingAddress,
Address shippingAddress,
String note,
String statementDescriptionIdentifier,
CashPaymentDetails cashDetails,
ExternalPaymentDetails externalDetails)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getAcceptPartialAuthorization()
Getter for AcceptPartialAuthorization.
|
Money |
getAmountMoney()
Getter for AmountMoney.
|
Money |
getAppFeeMoney()
Getter for AppFeeMoney.
|
Boolean |
getAutocomplete()
Getter for Autocomplete.
|
Address |
getBillingAddress()
Getter for BillingAddress.
|
String |
getBuyerEmailAddress()
Getter for BuyerEmailAddress.
|
CashPaymentDetails |
getCashDetails()
Getter for CashDetails.
|
String |
getCustomerId()
Getter for CustomerId.
|
String |
getDelayDuration()
Getter for DelayDuration.
|
ExternalPaymentDetails |
getExternalDetails()
Getter for ExternalDetails.
|
String |
getIdempotencyKey()
Getter for IdempotencyKey.
|
String |
getLocationId()
Getter for LocationId.
|
String |
getNote()
Getter for Note.
|
String |
getOrderId()
Getter for OrderId.
|
String |
getReferenceId()
Getter for ReferenceId.
|
Address |
getShippingAddress()
Getter for ShippingAddress.
|
String |
getSourceId()
Getter for SourceId.
|
String |
getStatementDescriptionIdentifier()
Getter for StatementDescriptionIdentifier.
|
String |
getTeamMemberId()
Getter for TeamMemberId.
|
Money |
getTipMoney()
Getter for TipMoney.
|
String |
getVerificationToken()
Getter for VerificationToken.
|
int |
hashCode() |
CreatePaymentRequest.Builder |
toBuilder()
Builds a new
CreatePaymentRequest.Builder object. |
String |
toString()
Converts this CreatePaymentRequest into string format.
|
public CreatePaymentRequest(String sourceId, String idempotencyKey, Money amountMoney, Money tipMoney, Money appFeeMoney, String delayDuration, Boolean autocomplete, String orderId, String customerId, String locationId, String teamMemberId, String referenceId, String verificationToken, Boolean acceptPartialAuthorization, String buyerEmailAddress, Address billingAddress, Address shippingAddress, String note, String statementDescriptionIdentifier, CashPaymentDetails cashDetails, ExternalPaymentDetails externalDetails)
sourceId - String value for sourceId.idempotencyKey - String value for idempotencyKey.amountMoney - Money value for amountMoney.tipMoney - Money value for tipMoney.appFeeMoney - Money value for appFeeMoney.delayDuration - String value for delayDuration.autocomplete - Boolean value for autocomplete.orderId - String value for orderId.customerId - String value for customerId.locationId - String value for locationId.teamMemberId - String value for teamMemberId.referenceId - String value for referenceId.verificationToken - String value for verificationToken.acceptPartialAuthorization - Boolean value for acceptPartialAuthorization.buyerEmailAddress - String value for buyerEmailAddress.billingAddress - Address value for billingAddress.shippingAddress - Address value for shippingAddress.note - String value for note.statementDescriptionIdentifier - String value for statementDescriptionIdentifier.cashDetails - CashPaymentDetails value for cashDetails.externalDetails - ExternalPaymentDetails value for externalDetails.public String getSourceId()
public String getIdempotencyKey()
public Money getAmountMoney()
public Money getTipMoney()
public Money getAppFeeMoney()
public String getDelayDuration()
public Boolean getAutocomplete()
public String getOrderId()
public String getCustomerId()
public String getLocationId()
public String getTeamMemberId()
public String getReferenceId()
public String getVerificationToken()
public Boolean getAcceptPartialAuthorization()
public String getBuyerEmailAddress()
public Address getBillingAddress()
public Address getShippingAddress()
public String getNote()
public String getStatementDescriptionIdentifier()
public CashPaymentDetails getCashDetails()
public ExternalPaymentDetails getExternalDetails()
public String toString()
public CreatePaymentRequest.Builder toBuilder()
CreatePaymentRequest.Builder object.
Creates the instance with the state of the current model.CreatePaymentRequest.Builder objectCopyright © 2022. All rights reserved.