public class ChargeRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ChargeRequest.Builder
Class to build instances of
ChargeRequest. |
| Modifier | Constructor and Description |
|---|---|
protected |
ChargeRequest(String idempotencyKey,
Money amountMoney,
io.apimatic.core.types.OptionalNullable<String> cardNonce,
io.apimatic.core.types.OptionalNullable<String> customerCardId,
io.apimatic.core.types.OptionalNullable<Boolean> delayCapture,
io.apimatic.core.types.OptionalNullable<String> referenceId,
io.apimatic.core.types.OptionalNullable<String> note,
io.apimatic.core.types.OptionalNullable<String> customerId,
Address billingAddress,
Address shippingAddress,
io.apimatic.core.types.OptionalNullable<String> buyerEmailAddress,
io.apimatic.core.types.OptionalNullable<String> orderId,
io.apimatic.core.types.OptionalNullable<List<ChargeRequestAdditionalRecipient>> additionalRecipients,
io.apimatic.core.types.OptionalNullable<String> verificationToken)
Initialization constructor.
|
|
ChargeRequest(String idempotencyKey,
Money amountMoney,
String cardNonce,
String customerCardId,
Boolean delayCapture,
String referenceId,
String note,
String customerId,
Address billingAddress,
Address shippingAddress,
String buyerEmailAddress,
String orderId,
List<ChargeRequestAdditionalRecipient> additionalRecipients,
String verificationToken)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<ChargeRequestAdditionalRecipient> |
getAdditionalRecipients()
Getter for AdditionalRecipients.
|
Money |
getAmountMoney()
Getter for AmountMoney.
|
Address |
getBillingAddress()
Getter for BillingAddress.
|
String |
getBuyerEmailAddress()
Getter for BuyerEmailAddress.
|
String |
getCardNonce()
Getter for CardNonce.
|
String |
getCustomerCardId()
Getter for CustomerCardId.
|
String |
getCustomerId()
Getter for CustomerId.
|
Boolean |
getDelayCapture()
Getter for DelayCapture.
|
String |
getIdempotencyKey()
Getter for IdempotencyKey.
|
String |
getNote()
Getter for Note.
|
String |
getOrderId()
Getter for OrderId.
|
String |
getReferenceId()
Getter for ReferenceId.
|
Address |
getShippingAddress()
Getter for ShippingAddress.
|
String |
getVerificationToken()
Getter for VerificationToken.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<List<ChargeRequestAdditionalRecipient>> |
internalGetAdditionalRecipients()
Internal Getter for AdditionalRecipients.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetBuyerEmailAddress()
Internal Getter for BuyerEmailAddress.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetCardNonce()
Internal Getter for CardNonce.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetCustomerCardId()
Internal Getter for CustomerCardId.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetCustomerId()
Internal Getter for CustomerId.
|
protected io.apimatic.core.types.OptionalNullable<Boolean> |
internalGetDelayCapture()
Internal Getter for DelayCapture.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetNote()
Internal Getter for Note.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetOrderId()
Internal Getter for OrderId.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetReferenceId()
Internal Getter for ReferenceId.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetVerificationToken()
Internal Getter for VerificationToken.
|
ChargeRequest.Builder |
toBuilder()
Builds a new
ChargeRequest.Builder object. |
String |
toString()
Converts this ChargeRequest into string format.
|
public ChargeRequest(String idempotencyKey, Money amountMoney, String cardNonce, String customerCardId, Boolean delayCapture, String referenceId, String note, String customerId, Address billingAddress, Address shippingAddress, String buyerEmailAddress, String orderId, List<ChargeRequestAdditionalRecipient> additionalRecipients, String verificationToken)
idempotencyKey - String value for idempotencyKey.amountMoney - Money value for amountMoney.cardNonce - String value for cardNonce.customerCardId - String value for customerCardId.delayCapture - Boolean value for delayCapture.referenceId - String value for referenceId.note - String value for note.customerId - String value for customerId.billingAddress - Address value for billingAddress.shippingAddress - Address value for shippingAddress.buyerEmailAddress - String value for buyerEmailAddress.orderId - String value for orderId.additionalRecipients - List of ChargeRequestAdditionalRecipient value for
additionalRecipients.verificationToken - String value for verificationToken.protected ChargeRequest(String idempotencyKey, Money amountMoney, io.apimatic.core.types.OptionalNullable<String> cardNonce, io.apimatic.core.types.OptionalNullable<String> customerCardId, io.apimatic.core.types.OptionalNullable<Boolean> delayCapture, io.apimatic.core.types.OptionalNullable<String> referenceId, io.apimatic.core.types.OptionalNullable<String> note, io.apimatic.core.types.OptionalNullable<String> customerId, Address billingAddress, Address shippingAddress, io.apimatic.core.types.OptionalNullable<String> buyerEmailAddress, io.apimatic.core.types.OptionalNullable<String> orderId, io.apimatic.core.types.OptionalNullable<List<ChargeRequestAdditionalRecipient>> additionalRecipients, io.apimatic.core.types.OptionalNullable<String> verificationToken)
idempotencyKey - String value for idempotencyKey.amountMoney - Money value for amountMoney.cardNonce - String value for cardNonce.customerCardId - String value for customerCardId.delayCapture - Boolean value for delayCapture.referenceId - String value for referenceId.note - String value for note.customerId - String value for customerId.billingAddress - Address value for billingAddress.shippingAddress - Address value for shippingAddress.buyerEmailAddress - String value for buyerEmailAddress.orderId - String value for orderId.additionalRecipients - List of ChargeRequestAdditionalRecipient value for
additionalRecipients.verificationToken - String value for verificationToken.public String getIdempotencyKey()
public Money getAmountMoney()
protected io.apimatic.core.types.OptionalNullable<String> internalGetCardNonce()
public String getCardNonce()
protected io.apimatic.core.types.OptionalNullable<String> internalGetCustomerCardId()
public String getCustomerCardId()
protected io.apimatic.core.types.OptionalNullable<Boolean> internalGetDelayCapture()
public Boolean getDelayCapture()
protected io.apimatic.core.types.OptionalNullable<String> internalGetReferenceId()
public String getReferenceId()
protected io.apimatic.core.types.OptionalNullable<String> internalGetNote()
public String getNote()
protected io.apimatic.core.types.OptionalNullable<String> internalGetCustomerId()
public String getCustomerId()
public Address getBillingAddress()
public Address getShippingAddress()
protected io.apimatic.core.types.OptionalNullable<String> internalGetBuyerEmailAddress()
public String getBuyerEmailAddress()
protected io.apimatic.core.types.OptionalNullable<String> internalGetOrderId()
public String getOrderId()
protected io.apimatic.core.types.OptionalNullable<List<ChargeRequestAdditionalRecipient>> internalGetAdditionalRecipients()
public List<ChargeRequestAdditionalRecipient> getAdditionalRecipients()
protected io.apimatic.core.types.OptionalNullable<String> internalGetVerificationToken()
public String getVerificationToken()
public String toString()
public ChargeRequest.Builder toBuilder()
ChargeRequest.Builder object.
Creates the instance with the state of the current model.ChargeRequest.Builder objectCopyright © 2024. All rights reserved.