Class PaymentSetupsRequest
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.setups.requests.PaymentSetupsRequest
-
public class PaymentSetupsRequest extends java.lang.ObjectPayment setup request
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentSetupsRequest.PaymentSetupsRequestBuilder
-
Constructor Summary
Constructors Constructor Description PaymentSetupsRequest()PaymentSetupsRequest(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 newPaymentSetupsRequestinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentSetupsRequest.PaymentSetupsRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.LonggetAmount()The payment amount, in the minor currency unit.CurrencygetCurrency()The currency of the payment, as a three-letter ISO currency code [Required]CustomergetCustomer()Details about the customer [Optional]java.lang.StringgetDescription()A description of the payment setup [Optional]IndustrygetIndustry()Details for specific industries, including airline and accommodation industries [Optional]OrdergetOrder()Details about the order associated with this payment setup [Optional]PaymentMethodsgetPaymentMethods()The payment methods that are enabled on your account and available for use [Optional]PaymentTypegetPaymentType()The type of payment.java.lang.StringgetProcessingChannelId()The processing channel to be used for the payment setup [Required]java.lang.StringgetReference()A reference you can use to identify the payment.SettingsgetSettings()The payment setup configuration settings [Optional]inthashCode()voidsetAmount(java.lang.Long amount)The payment amount, in the minor currency unit.voidsetCurrency(Currency currency)The currency of the payment, as a three-letter ISO currency code [Required]voidsetCustomer(Customer customer)Details about the customer [Optional]voidsetDescription(java.lang.String description)A description of the payment setup [Optional]voidsetIndustry(Industry industry)Details for specific industries, including airline and accommodation industries [Optional]voidsetOrder(Order order)Details about the order associated with this payment setup [Optional]voidsetPaymentMethods(PaymentMethods paymentMethods)The payment methods that are enabled on your account and available for use [Optional]voidsetPaymentType(PaymentType paymentType)The type of payment.voidsetProcessingChannelId(java.lang.String processingChannelId)The processing channel to be used for the payment setup [Required]voidsetReference(java.lang.String reference)A reference you can use to identify the payment.voidsetSettings(Settings settings)The payment setup configuration settings [Optional]java.lang.StringtoString()
-
-
-
Constructor Detail
-
PaymentSetupsRequest
public PaymentSetupsRequest()
-
PaymentSetupsRequest
public PaymentSetupsRequest(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 newPaymentSetupsRequestinstance.- Parameters:
processingChannelId- The processing channel to be used for the payment setup [Required]amount- The payment amount, in the minor currency unit. The exact format depends on the currency [Required]currency- The currency of the payment, as a three-letter ISO currency code [Required]paymentType- The type of payment. //// You must provide this field for card payments in which the cardholder is not present. For example, if the transaction is a recurring payment, or a mail order/telephone order (MOTO) payment. Enum: "Regular" "Recurring" "MOTO" "Installment" "Unscheduled" [Optional]reference- A reference you can use to identify the payment. For example, an order number [Optional]description- A description of the payment setup [Optional]paymentMethods- The payment methods that are enabled on your account and available for use [Optional]settings- The payment setup configuration settings [Optional]customer- Details about the customer [Optional]order- Details about the order associated with this payment setup [Optional]industry- Details for specific industries, including airline and accommodation industries [Optional]
-
-
Method Detail
-
builder
public static PaymentSetupsRequest.PaymentSetupsRequestBuilder builder()
-
getProcessingChannelId
public java.lang.String getProcessingChannelId()
The processing channel to be used for the payment setup [Required]
-
getAmount
public java.lang.Long getAmount()
The payment amount, in the minor currency unit. The exact format depends on the currency [Required]
-
getCurrency
public Currency getCurrency()
The currency of the payment, as a three-letter ISO currency code [Required]
-
getPaymentType
public PaymentType getPaymentType()
The type of payment. //// You must provide this field for card payments in which the cardholder is not present. For example, if the transaction is a recurring payment, or a mail order/telephone order (MOTO) payment. Enum: "Regular" "Recurring" "MOTO" "Installment" "Unscheduled" [Optional]
-
getReference
public java.lang.String getReference()
A reference you can use to identify the payment. For example, an order number [Optional]
-
getDescription
public java.lang.String getDescription()
A description of the payment setup [Optional]
-
getPaymentMethods
public PaymentMethods getPaymentMethods()
The payment methods that are enabled on your account and available for use [Optional]
-
getSettings
public Settings getSettings()
The payment setup configuration settings [Optional]
-
getCustomer
public Customer getCustomer()
Details about the customer [Optional]
-
getOrder
public Order getOrder()
Details about the order associated with this payment setup [Optional]
-
getIndustry
public Industry getIndustry()
Details for specific industries, including airline and accommodation industries [Optional]
-
setProcessingChannelId
public void setProcessingChannelId(java.lang.String processingChannelId)
The processing channel to be used for the payment setup [Required]
-
setAmount
public void setAmount(java.lang.Long amount)
The payment amount, in the minor currency unit. The exact format depends on the currency [Required]
-
setCurrency
public void setCurrency(Currency currency)
The currency of the payment, as a three-letter ISO currency code [Required]
-
setPaymentType
public void setPaymentType(PaymentType paymentType)
The type of payment. //// You must provide this field for card payments in which the cardholder is not present. For example, if the transaction is a recurring payment, or a mail order/telephone order (MOTO) payment. Enum: "Regular" "Recurring" "MOTO" "Installment" "Unscheduled" [Optional]
-
setReference
public void setReference(java.lang.String reference)
A reference you can use to identify the payment. For example, an order number [Optional]
-
setDescription
public void setDescription(java.lang.String description)
A description of the payment setup [Optional]
-
setPaymentMethods
public void setPaymentMethods(PaymentMethods paymentMethods)
The payment methods that are enabled on your account and available for use [Optional]
-
setSettings
public void setSettings(Settings settings)
The payment setup configuration settings [Optional]
-
setCustomer
public void setCustomer(Customer customer)
Details about the customer [Optional]
-
setOrder
public void setOrder(Order order)
Details about the order associated with this payment setup [Optional]
-
setIndustry
public void setIndustry(Industry industry)
Details for specific industries, including airline and accommodation industries [Optional]
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-