Class PaymentMethodCreateParams

java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.PaymentMethodCreateParams

public class PaymentMethodCreateParams extends ApiRequestParams
  • Method Details

    • builder

      public static PaymentMethodCreateParams.Builder builder()
    • getAcssDebit

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

      If this is an affirm PaymentMethod, this hash contains details about the Affirm payment method.
    • getAfterpayClearpay

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

      If this is an Alipay PaymentMethod, this hash contains details about the Alipay payment method.
    • getAllowRedisplay

      public PaymentMethodCreateParams.AllowRedisplay getAllowRedisplay()
      This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to unspecified.
    • getAmazonPay

      public PaymentMethodCreateParams.AmazonPay getAmazonPay()
      If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
    • getAuBecsDebit

      public PaymentMethodCreateParams.AuBecsDebit getAuBecsDebit()
      If this is an au_becs_debit PaymentMethod, this hash contains details about the bank account.
    • 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.
    • getBlik

      If this is a blik PaymentMethod, this hash contains details about the BLIK payment method.
    • getBoleto

      If this is a boleto PaymentMethod, this hash contains details about the Boleto payment method.
    • getCard

      public 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.
    • getCashapp

      public PaymentMethodCreateParams.Cashapp getCashapp()
      If this is a cashapp PaymentMethod, this hash contains details about the Cash App Pay payment method.
    • getCustomer

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

      public PaymentMethodCreateParams.CustomerBalance getCustomerBalance()
      If this is a customer_balance PaymentMethod, this hash contains details about the CustomerBalance payment method.
    • getEps

      If this is an eps PaymentMethod, this hash contains details about the EPS payment method.
    • getExpand

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

      public Map<String,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

      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

      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

      If this is a klarna PaymentMethod, this hash contains details about the Klarna payment method.
    • getKonbini

      public PaymentMethodCreateParams.Konbini getKonbini()
      If this is a konbini PaymentMethod, this hash contains details about the Konbini payment method.
    • getLink

      If this is an Link PaymentMethod, this hash contains details about the Link payment method.
    • getMetadata

      public Map<String,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.
    • getMobilepay

      public PaymentMethodCreateParams.Mobilepay getMobilepay()
      If this is a mobilepay PaymentMethod, this hash contains details about the MobilePay payment method.
    • getOxxo

      If this is an oxxo PaymentMethod, this hash contains details about the OXXO payment method.
    • getP24

      If this is a p24 PaymentMethod, this hash contains details about the P24 payment method.
    • getPaymentMethod

      public String getPaymentMethod()
      The PaymentMethod to share.
    • getPaynow

      If this is a paynow PaymentMethod, this hash contains details about the PayNow payment method.
    • getPaypal

      If this is a paypal PaymentMethod, this hash contains details about the PayPal payment method.
    • getPix

      If this is a pix PaymentMethod, this hash contains details about the Pix payment method.
    • getPromptpay

      public PaymentMethodCreateParams.Promptpay getPromptpay()
      If this is a promptpay PaymentMethod, this hash contains details about the PromptPay payment method.
    • getRadarOptions

      public PaymentMethodCreateParams.RadarOptions getRadarOptions()
      Options to configure Radar. See Radar Session for more information.
    • getRevolutPay

      public PaymentMethodCreateParams.RevolutPay getRevolutPay()
      If this is a Revolut Pay PaymentMethod, this hash contains details about the Revolut Pay payment method.
    • getSepaDebit

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

      If this is a sofort PaymentMethod, this hash contains details about the SOFORT payment method.
    • getSwish

      If this is a swish PaymentMethod, this hash contains details about the Swish payment method.
    • 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.
    • getUsBankAccount

      public PaymentMethodCreateParams.UsBankAccount getUsBankAccount()
      If this is an us_bank_account PaymentMethod, this hash contains details about the US bank account payment method.
    • getWechatPay

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

      If this is a zip PaymentMethod, this hash contains details about the Zip payment method.