Class RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.responses.requestapaymentorpayoutresponsecreated.RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder
-
- Enclosing class:
- RequestAPaymentOrPayoutResponseCreated
public static class RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
id
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder id(java.lang.String id)
The payment's unique identifier [Required]- Returns:
this.
-
actionId
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder actionId(java.lang.String actionId)
The unique identifier for the action performed against this payment [Required] ^(act)_(\w{26})$ 30 characters- Returns:
this.
-
amount
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder amount(java.lang.Integer amount)
The payment amount. [Required]- Returns:
this.
-
currency
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder currency(Currency currency)
The three-letter ISO currency code of the payment [Required] 3 characters- Returns:
this.
-
approved
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder approved(java.lang.Boolean approved)
Whether or not the authorization or capture was successful [Required]- Returns:
this.
-
status
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder status(StatusType status)
The status of the payment [Required]- Returns:
this.
-
responseCode
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder responseCode(java.lang.String responseCode)
The Gateway response code [Required]- Returns:
this.
-
processedOn
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder processedOn(java.time.Instant processedOn)
The date/time the payment was processed [Required]- Returns:
this.
-
amountRequested
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder amountRequested(java.lang.Integer amountRequested)
The full amount from the original authorization, if a partial authorization was requested and approved. [Optional]- Returns:
this.
-
authCode
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder authCode(java.lang.String authCode)
The acquirer authorization code if the payment was authorized [Optional]- Returns:
this.
-
responseSummary
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder responseSummary(java.lang.String responseSummary)
The Gateway response summary [Optional]- Returns:
this.
-
expiresOn
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder expiresOn(java.lang.String expiresOn)
The timestamp (ISO 8601 code) for when the authorization's validity period expires [Optional]- Returns:
this.
-
threeds
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder threeds(Threeds threeds)
Provides 3D Secure enrollment status if the payment was downgraded to non-3D Secure [Optional]- Returns:
this.
-
risk
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder risk(Risk risk)
Returns the payment's risk assessment results [Optional]- Returns:
this.
-
source
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder source(AbstractSource source)
The source of the payment [Optional]- Returns:
this.
-
customer
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder customer(Customer customer)
The customer associated with the payment, if provided in the request [Optional]- Returns:
this.
-
balances
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder balances(Balances balances)
The payment balances [Optional]- Returns:
this.
-
reference
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder reference(java.lang.String reference)
Your reference for the payment [Optional]- Returns:
this.
-
subscription
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder subscription(Subscription subscription)
The details of the subscription. [Optional]- Returns:
this.
-
processing
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder processing(Processing processing)
Returns information related to the processing of the payment [Optional]- Returns:
this.
-
eci
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder eci(java.lang.String eci)
The final Electronic Commerce Indicator (ECI) security level used to authorize the payment. Applicable for 3D Secure and network token payments [Optional]- Returns:
this.
-
schemeId
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder schemeId(java.lang.String schemeId)
The scheme transaction identifier [Optional]- Returns:
this.
-
retry
public RequestAPaymentOrPayoutResponseCreated.RequestAPaymentOrPayoutResponseCreatedBuilder retry(Retry retry)
Configuration relating to asynchronous retries [Optional]- Returns:
this.
-
build
public RequestAPaymentOrPayoutResponseCreated build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-