Class PaymentSetupsRequest


  • public class PaymentSetupsRequest
    extends java.lang.Object
    Payment setup request
    • 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 new PaymentSetupsRequest instance.
        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

      • 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:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object