Class PaymentMethodCreateParams

    • Method Detail

      • getAcssDebit

        public PaymentMethodCreateParams.AcssDebit getAcssDebit()
        If this is an acss_debit PaymentMethod, this hash contains details about the ACSS Debit payment method.
      • getAfterpayClearpay

        public PaymentMethodCreateParams.AfterpayClearpay getAfterpayClearpay()
        If this is an AfterpayClearpay PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
      • getAlipay

        public PaymentMethodCreateParams.Alipay getAlipay()
        If this is an Alipay PaymentMethod, this hash contains details about the Alipay payment method.
      • getBacsDebit

        public PaymentMethodCreateParams.BacsDebit getBacsDebit()
        If this is a bacs_debit PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
      • getBancontact

        public PaymentMethodCreateParams.Bancontact getBancontact()
        If this is a bancontact PaymentMethod, this hash contains details about the Bancontact payment method.
      • getBillingDetails

        public PaymentMethodCreateParams.BillingDetails getBillingDetails()
        Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
      • getBoleto

        public PaymentMethodCreateParams.Boleto getBoleto()
        If this is a boleto PaymentMethod, this hash contains details about the Boleto payment method.
      • getCard

        public java.lang.Object getCard()
        If this is a card PaymentMethod, this hash contains the user's card details. For backwards compatibility, you can alternatively provide a Stripe token (e.g., for Apple Pay, Amex Express Checkout, or legacy Checkout) into the card hash with format card: {token: "tok_visa"}. When providing a card number, you must meet the requirements for PCI compliance. We strongly recommend using Stripe.js instead of interacting with this API directly.
      • getCustomer

        public java.lang.String getCustomer()
        The Customer to whom the original PaymentMethod is attached.
      • getEps

        public PaymentMethodCreateParams.Eps getEps()
        If this is an eps PaymentMethod, this hash contains details about the EPS payment method.
      • getExpand

        public java.util.List<java.lang.String> getExpand()
        Specifies which fields in the response should be expanded.
      • getExtraParams

        public java.util.Map<java.lang.String,​java.lang.Object> getExtraParams()
        Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
      • getFpx

        public PaymentMethodCreateParams.Fpx getFpx()
        If this is an fpx PaymentMethod, this hash contains details about the FPX payment method.
      • getGiropay

        public PaymentMethodCreateParams.Giropay getGiropay()
        If this is a giropay PaymentMethod, this hash contains details about the Giropay payment method.
      • getGrabpay

        public PaymentMethodCreateParams.Grabpay getGrabpay()
        If this is a grabpay PaymentMethod, this hash contains details about the GrabPay payment method.
      • getIdeal

        public PaymentMethodCreateParams.Ideal getIdeal()
        If this is an ideal PaymentMethod, this hash contains details about the iDEAL payment method.
      • getInteracPresent

        public PaymentMethodCreateParams.InteracPresent getInteracPresent()
        If this is an interac_present PaymentMethod, this hash contains details about the Interac Present payment method.
      • getKlarna

        public PaymentMethodCreateParams.Klarna getKlarna()
        If this is a klarna PaymentMethod, this hash contains details about the Klarna payment method.
      • getMetadata

        public java.util.Map<java.lang.String,​java.lang.String> getMetadata()
        Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
      • getOxxo

        public PaymentMethodCreateParams.Oxxo getOxxo()
        If this is an oxxo PaymentMethod, this hash contains details about the OXXO payment method.
      • getP24

        public PaymentMethodCreateParams.P24 getP24()
        If this is a p24 PaymentMethod, this hash contains details about the P24 payment method.
      • getPaymentMethod

        public java.lang.String getPaymentMethod()
        The PaymentMethod to share.
      • getSepaDebit

        public PaymentMethodCreateParams.SepaDebit getSepaDebit()
        If this is a sepa_debit PaymentMethod, this hash contains details about the SEPA debit bank account.
      • getSofort

        public PaymentMethodCreateParams.Sofort getSofort()
        If this is a sofort PaymentMethod, this hash contains details about the SOFORT payment method.
      • getType

        public PaymentMethodCreateParams.Type getType()
        The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
      • getWechatPay

        public PaymentMethodCreateParams.WechatPay getWechatPay()
        If this is an wechat_pay PaymentMethod, this hash contains details about the wechat_pay payment method.