Class PaymentSetupsResponse
- java.lang.Object
-
- com.checkout.HttpMetadata
-
- com.checkout.handlepaymentsandpayouts.setups.responses.PaymentSetupsResponse
-
public class PaymentSetupsResponse extends HttpMetadata
Payment setup response
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentSetupsResponse.PaymentSetupsResponseBuilder
-
Constructor Summary
Constructors Constructor Description PaymentSetupsResponse()PaymentSetupsResponse(java.lang.String id, java.lang.String processingChannelId, java.lang.Long amount, Currency currency, PaymentType paymentType, java.lang.String reference, java.lang.String description, PaymentMethods paymentMethods, Settings settings, Customer customer, Order order, Industry industry)Creates a newPaymentSetupsResponseinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentSetupsResponse.PaymentSetupsResponseBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.LonggetAmount()The payment amount.CurrencygetCurrency()The three-letter ISO currency codeCustomergetCustomer()Details about the customerjava.lang.StringgetDescription()A description of the payment setupjava.lang.StringgetId()The unique identifier of the payment setup.IndustrygetIndustry()Industry-specific information for specialized payment scenariosOrdergetOrder()Details about the order associated with this payment setupPaymentMethodsgetPaymentMethods()The payment method configuration for this setupPaymentTypegetPaymentType()The type of payment methodjava.lang.StringgetProcessingChannelId()The processing channel used for the payment setupjava.lang.StringgetReference()The reference identifier for this payment setupSettingsgetSettings()The payment setup configuration settingsinthashCode()voidsetAmount(java.lang.Long amount)The payment amount.voidsetCurrency(Currency currency)The three-letter ISO currency codevoidsetCustomer(Customer customer)Details about the customervoidsetDescription(java.lang.String description)A description of the payment setupvoidsetId(java.lang.String id)The unique identifier of the payment setup.voidsetIndustry(Industry industry)Industry-specific information for specialized payment scenariosvoidsetOrder(Order order)Details about the order associated with this payment setupvoidsetPaymentMethods(PaymentMethods paymentMethods)The payment method configuration for this setupvoidsetPaymentType(PaymentType paymentType)The type of payment methodvoidsetProcessingChannelId(java.lang.String processingChannelId)The processing channel used for the payment setupvoidsetReference(java.lang.String reference)The reference identifier for this payment setupvoidsetSettings(Settings settings)The payment setup configuration settingsjava.lang.StringtoString()-
Methods inherited from class com.checkout.HttpMetadata
getBody, getHttpStatusCode, getRequestId, getResponseHeaders, setBody, setHttpStatusCode, setResponseHeaders
-
-
-
-
Constructor Detail
-
PaymentSetupsResponse
public PaymentSetupsResponse()
-
PaymentSetupsResponse
public PaymentSetupsResponse(java.lang.String id, java.lang.String processingChannelId, java.lang.Long amount, Currency currency, PaymentType paymentType, java.lang.String reference, java.lang.String description, PaymentMethods paymentMethods, Settings settings, Customer customer, Order order, Industry industry)Creates a newPaymentSetupsResponseinstance.- Parameters:
id- The unique identifier of the payment setup.processingChannelId- The processing channel used for the payment setupamount- The payment amount. The exact format depends on the currencycurrency- The three-letter ISO currency codepaymentType- The type of payment methodreference- The reference identifier for this payment setupdescription- A description of the payment setuppaymentMethods- The payment method configuration for this setupsettings- The payment setup configuration settingscustomer- Details about the customerorder- Details about the order associated with this payment setupindustry- Industry-specific information for specialized payment scenarios
-
-
Method Detail
-
builder
public static PaymentSetupsResponse.PaymentSetupsResponseBuilder builder()
-
getId
public java.lang.String getId()
The unique identifier of the payment setup.
-
getProcessingChannelId
public java.lang.String getProcessingChannelId()
The processing channel used for the payment setup
-
getAmount
public java.lang.Long getAmount()
The payment amount. The exact format depends on the currency
-
getCurrency
public Currency getCurrency()
The three-letter ISO currency code
-
getPaymentType
public PaymentType getPaymentType()
The type of payment method
-
getReference
public java.lang.String getReference()
The reference identifier for this payment setup
-
getDescription
public java.lang.String getDescription()
A description of the payment setup
-
getPaymentMethods
public PaymentMethods getPaymentMethods()
The payment method configuration for this setup
-
getSettings
public Settings getSettings()
The payment setup configuration settings
-
getCustomer
public Customer getCustomer()
Details about the customer
-
getOrder
public Order getOrder()
Details about the order associated with this payment setup
-
getIndustry
public Industry getIndustry()
Industry-specific information for specialized payment scenarios
-
setId
public void setId(java.lang.String id)
The unique identifier of the payment setup.
-
setProcessingChannelId
public void setProcessingChannelId(java.lang.String processingChannelId)
The processing channel used for the payment setup
-
setAmount
public void setAmount(java.lang.Long amount)
The payment amount. The exact format depends on the currency
-
setCurrency
public void setCurrency(Currency currency)
The three-letter ISO currency code
-
setPaymentType
public void setPaymentType(PaymentType paymentType)
The type of payment method
-
setReference
public void setReference(java.lang.String reference)
The reference identifier for this payment setup
-
setDescription
public void setDescription(java.lang.String description)
A description of the payment setup
-
setPaymentMethods
public void setPaymentMethods(PaymentMethods paymentMethods)
The payment method configuration for this setup
-
setSettings
public void setSettings(Settings settings)
The payment setup configuration settings
-
setCustomer
public void setCustomer(Customer customer)
Details about the customer
-
setOrder
public void setOrder(Order order)
Details about the order associated with this payment setup
-
setIndustry
public void setIndustry(Industry industry)
Industry-specific information for specialized payment scenarios
-
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
-
-