Class PaymentSetupsConfirmResponse
- java.lang.Object
-
- com.checkout.HttpMetadata
-
- com.checkout.handlepaymentsandpayouts.setups.responses.PaymentSetupsConfirmResponse
-
public class PaymentSetupsConfirmResponse extends HttpMetadata
Payment setup confirmation response
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder
-
Constructor Summary
Constructors Constructor Description PaymentSetupsConfirmResponse()PaymentSetupsConfirmResponse(java.lang.String id, java.lang.String actionId, java.lang.Long amount, Currency currency, java.lang.Boolean approved, PaymentStatus status, java.lang.String responseCode, java.time.Instant processedOn, java.lang.Long amountRequested, java.lang.String authCode, java.lang.String responseSummary, java.lang.String expiresOn, Threeds threeDSecure, Risk risk, PaymentSetupSource source, Customer customer, Balances balances, java.lang.String reference, Subscription subscription, Processing processing, java.lang.String eci, java.lang.String schemeId, Retry retry)Creates a newPaymentSetupsConfirmResponseinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetActionId()The unique identifier for the action performed against this paymentjava.lang.LonggetAmount()The payment amountjava.lang.LonggetAmountRequested()The full amount from the original authorization, if a partial authorization was requested and approvedjava.lang.BooleangetApproved()Whether or not the authorization or capture was successfuljava.lang.StringgetAuthCode()The acquirer authorization code if the payment was authorizedBalancesgetBalances()The payment balancesCurrencygetCurrency()The three-letter ISO currency code of the paymentCustomergetCustomer()The customer associated with the payment, if provided in the requestjava.lang.StringgetEci()The final Electronic Commerce Indicator (ECI) security level used to authorize the payment.java.lang.StringgetExpiresOn()The timestamp (ISO 8601 code) for when the authorization's validity period expiresjava.lang.StringgetId()The payment's unique identifierjava.time.InstantgetProcessedOn()The date and time at which the payment was processedProcessinggetProcessing()Returns information related to the processing of the paymentjava.lang.StringgetReference()Your reference for the paymentjava.lang.StringgetResponseCode()The Gateway response codejava.lang.StringgetResponseSummary()The Gateway response summaryRetrygetRetry()The retry informationRiskgetRisk()Returns the payment's risk assessment resultsjava.lang.StringgetSchemeId()The scheme transaction identifierPaymentSetupSourcegetSource()The source of the paymentPaymentStatusgetStatus()The status of the paymentSubscriptiongetSubscription()The The details of the subscriptionThreedsgetThreeDSecure()Provides 3D Secure enrollment status if the payment was downgraded to non-3D SecureinthashCode()voidsetActionId(java.lang.String actionId)The unique identifier for the action performed against this paymentvoidsetAmount(java.lang.Long amount)The payment amountvoidsetAmountRequested(java.lang.Long amountRequested)The full amount from the original authorization, if a partial authorization was requested and approvedvoidsetApproved(java.lang.Boolean approved)Whether or not the authorization or capture was successfulvoidsetAuthCode(java.lang.String authCode)The acquirer authorization code if the payment was authorizedvoidsetBalances(Balances balances)The payment balancesvoidsetCurrency(Currency currency)The three-letter ISO currency code of the paymentvoidsetCustomer(Customer customer)The customer associated with the payment, if provided in the requestvoidsetEci(java.lang.String eci)The final Electronic Commerce Indicator (ECI) security level used to authorize the payment.voidsetExpiresOn(java.lang.String expiresOn)The timestamp (ISO 8601 code) for when the authorization's validity period expiresvoidsetId(java.lang.String id)The payment's unique identifiervoidsetProcessedOn(java.time.Instant processedOn)The date and time at which the payment was processedvoidsetProcessing(Processing processing)Returns information related to the processing of the paymentvoidsetReference(java.lang.String reference)Your reference for the paymentvoidsetResponseCode(java.lang.String responseCode)The Gateway response codevoidsetResponseSummary(java.lang.String responseSummary)The Gateway response summaryvoidsetRetry(Retry retry)The retry informationvoidsetRisk(Risk risk)Returns the payment's risk assessment resultsvoidsetSchemeId(java.lang.String schemeId)The scheme transaction identifiervoidsetSource(PaymentSetupSource source)The source of the paymentvoidsetStatus(PaymentStatus status)The status of the paymentvoidsetSubscription(Subscription subscription)The The details of the subscriptionvoidsetThreeDSecure(Threeds threeDSecure)Provides 3D Secure enrollment status if the payment was downgraded to non-3D Securejava.lang.StringtoString()-
Methods inherited from class com.checkout.HttpMetadata
getBody, getHttpStatusCode, getRequestId, getResponseHeaders, setBody, setHttpStatusCode, setResponseHeaders
-
-
-
-
Constructor Detail
-
PaymentSetupsConfirmResponse
public PaymentSetupsConfirmResponse()
-
PaymentSetupsConfirmResponse
public PaymentSetupsConfirmResponse(java.lang.String id, java.lang.String actionId, java.lang.Long amount, Currency currency, java.lang.Boolean approved, PaymentStatus status, java.lang.String responseCode, java.time.Instant processedOn, java.lang.Long amountRequested, java.lang.String authCode, java.lang.String responseSummary, java.lang.String expiresOn, Threeds threeDSecure, Risk risk, PaymentSetupSource source, Customer customer, Balances balances, java.lang.String reference, Subscription subscription, Processing processing, java.lang.String eci, java.lang.String schemeId, Retry retry)Creates a newPaymentSetupsConfirmResponseinstance.- Parameters:
id- The payment's unique identifieractionId- The unique identifier for the action performed against this paymentamount- The payment amountcurrency- The three-letter ISO currency code of the paymentapproved- Whether or not the authorization or capture was successfulstatus- The status of the paymentresponseCode- The Gateway response codeprocessedOn- The date and time at which the payment was processedamountRequested- The full amount from the original authorization, if a partial authorization was requested and approvedauthCode- The acquirer authorization code if the payment was authorizedresponseSummary- The Gateway response summaryexpiresOn- The timestamp (ISO 8601 code) for when the authorization's validity period expiresthreeDSecure- Provides 3D Secure enrollment status if the payment was downgraded to non-3D Securerisk- Returns the payment's risk assessment resultssource- The source of the paymentcustomer- The customer associated with the payment, if provided in the requestbalances- The payment balancesreference- Your reference for the paymentsubscription- The The details of the subscriptionprocessing- Returns information related to the processing of the paymenteci- The final Electronic Commerce Indicator (ECI) security level used to authorize the payment. Applicable for 3D Secure and network token paymentsschemeId- The scheme transaction identifierretry- The retry information
-
-
Method Detail
-
builder
public static PaymentSetupsConfirmResponse.PaymentSetupsConfirmResponseBuilder builder()
-
getId
public java.lang.String getId()
The payment's unique identifier
-
getActionId
public java.lang.String getActionId()
The unique identifier for the action performed against this payment
-
getAmount
public java.lang.Long getAmount()
The payment amount
-
getCurrency
public Currency getCurrency()
The three-letter ISO currency code of the payment
-
getApproved
public java.lang.Boolean getApproved()
Whether or not the authorization or capture was successful
-
getStatus
public PaymentStatus getStatus()
The status of the payment
-
getResponseCode
public java.lang.String getResponseCode()
The Gateway response code
-
getProcessedOn
public java.time.Instant getProcessedOn()
The date and time at which the payment was processed
-
getAmountRequested
public java.lang.Long getAmountRequested()
The full amount from the original authorization, if a partial authorization was requested and approved
-
getAuthCode
public java.lang.String getAuthCode()
The acquirer authorization code if the payment was authorized
-
getResponseSummary
public java.lang.String getResponseSummary()
The Gateway response summary
-
getExpiresOn
public java.lang.String getExpiresOn()
The timestamp (ISO 8601 code) for when the authorization's validity period expires
-
getThreeDSecure
public Threeds getThreeDSecure()
Provides 3D Secure enrollment status if the payment was downgraded to non-3D Secure
-
getRisk
public Risk getRisk()
Returns the payment's risk assessment results
-
getSource
public PaymentSetupSource getSource()
The source of the payment
-
getCustomer
public Customer getCustomer()
The customer associated with the payment, if provided in the request
-
getBalances
public Balances getBalances()
The payment balances
-
getReference
public java.lang.String getReference()
Your reference for the payment
-
getSubscription
public Subscription getSubscription()
The The details of the subscription
-
getProcessing
public Processing getProcessing()
Returns information related to the processing of the payment
-
getEci
public java.lang.String getEci()
The final Electronic Commerce Indicator (ECI) security level used to authorize the payment. Applicable for 3D Secure and network token payments
-
getSchemeId
public java.lang.String getSchemeId()
The scheme transaction identifier
-
getRetry
public Retry getRetry()
The retry information
-
setId
public void setId(java.lang.String id)
The payment's unique identifier
-
setActionId
public void setActionId(java.lang.String actionId)
The unique identifier for the action performed against this payment
-
setAmount
public void setAmount(java.lang.Long amount)
The payment amount
-
setCurrency
public void setCurrency(Currency currency)
The three-letter ISO currency code of the payment
-
setApproved
public void setApproved(java.lang.Boolean approved)
Whether or not the authorization or capture was successful
-
setStatus
public void setStatus(PaymentStatus status)
The status of the payment
-
setResponseCode
public void setResponseCode(java.lang.String responseCode)
The Gateway response code
-
setProcessedOn
public void setProcessedOn(java.time.Instant processedOn)
The date and time at which the payment was processed
-
setAmountRequested
public void setAmountRequested(java.lang.Long amountRequested)
The full amount from the original authorization, if a partial authorization was requested and approved
-
setAuthCode
public void setAuthCode(java.lang.String authCode)
The acquirer authorization code if the payment was authorized
-
setResponseSummary
public void setResponseSummary(java.lang.String responseSummary)
The Gateway response summary
-
setExpiresOn
public void setExpiresOn(java.lang.String expiresOn)
The timestamp (ISO 8601 code) for when the authorization's validity period expires
-
setThreeDSecure
public void setThreeDSecure(Threeds threeDSecure)
Provides 3D Secure enrollment status if the payment was downgraded to non-3D Secure
-
setRisk
public void setRisk(Risk risk)
Returns the payment's risk assessment results
-
setSource
public void setSource(PaymentSetupSource source)
The source of the payment
-
setCustomer
public void setCustomer(Customer customer)
The customer associated with the payment, if provided in the request
-
setBalances
public void setBalances(Balances balances)
The payment balances
-
setReference
public void setReference(java.lang.String reference)
Your reference for the payment
-
setSubscription
public void setSubscription(Subscription subscription)
The The details of the subscription
-
setProcessing
public void setProcessing(Processing processing)
Returns information related to the processing of the payment
-
setEci
public void setEci(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
-
setSchemeId
public void setSchemeId(java.lang.String schemeId)
The scheme transaction identifier
-
setRetry
public void setRetry(Retry retry)
The retry information
-
toString
public java.lang.String toString()
- Overrides:
toStringin classHttpMetadata
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classHttpMetadata
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classHttpMetadata
-
hashCode
public int hashCode()
- Overrides:
hashCodein classHttpMetadata
-
-