Class PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.setups.responses.PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder
-
- Enclosing class:
- PaymentSetupsConfirmResponse
public static class PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
id
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder id(java.lang.String id)
The payment's unique identifier- Returns:
this.
-
actionId
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder actionId(java.lang.String actionId)
The unique identifier for the action performed against this payment- Returns:
this.
-
amount
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder amount(java.lang.Long amount)
The payment amount- Returns:
this.
-
currency
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder currency(Currency currency)
The three-letter ISO currency code of the payment- Returns:
this.
-
approved
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder approved(java.lang.Boolean approved)
Whether or not the authorization or capture was successful- Returns:
this.
-
status
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder status(PaymentStatus status)
The status of the payment- Returns:
this.
-
responseCode
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder responseCode(java.lang.String responseCode)
The Gateway response code- Returns:
this.
-
processedOn
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder processedOn(java.time.Instant processedOn)
The date and time at which the payment was processed- Returns:
this.
-
amountRequested
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder amountRequested(java.lang.Long amountRequested)
The full amount from the original authorization, if a partial authorization was requested and approved- Returns:
this.
-
authCode
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder authCode(java.lang.String authCode)
The acquirer authorization code if the payment was authorized- Returns:
this.
-
responseSummary
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder responseSummary(java.lang.String responseSummary)
The Gateway response summary- Returns:
this.
-
expiresOn
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder expiresOn(java.lang.String expiresOn)
The timestamp (ISO 8601 code) for when the authorization's validity period expires- Returns:
this.
-
threeDSecure
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder threeDSecure(Threeds threeDSecure)
Provides 3D Secure enrollment status if the payment was downgraded to non-3D Secure- Returns:
this.
-
risk
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder risk(Risk risk)
Returns the payment's risk assessment results- Returns:
this.
-
source
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder source(PaymentSetupSource source)
The source of the payment- Returns:
this.
-
customer
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder customer(Customer customer)
The customer associated with the payment, if provided in the request- Returns:
this.
-
balances
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder balances(Balances balances)
The payment balances- Returns:
this.
-
reference
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder reference(java.lang.String reference)
Your reference for the payment- Returns:
this.
-
subscription
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder subscription(Subscription subscription)
The The details of the subscription- Returns:
this.
-
processing
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder processing(Processing processing)
Returns information related to the processing of the payment- Returns:
this.
-
eci
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder 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- Returns:
this.
-
schemeId
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder schemeId(java.lang.String schemeId)
The scheme transaction identifier- Returns:
this.
-
retry
public PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder retry(Retry retry)
The retry information- Returns:
this.
-
build
public PaymentSetupsConfirmResponse build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-