Package com.stripe.param
Class PaymentMethodCreateParams
- java.lang.Object
-
- com.stripe.net.ApiRequestParams
-
- com.stripe.param.PaymentMethodCreateParams
-
public class PaymentMethodCreateParams extends ApiRequestParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentMethodCreateParams.AcssDebitstatic classPaymentMethodCreateParams.AfterpayClearpayTransit number of the customer's bank.static classPaymentMethodCreateParams.AlipayAdd all map key/value pairs to `extraParams` map.static classPaymentMethodCreateParams.AuBecsDebitAdd all map key/value pairs to `extraParams` map.static classPaymentMethodCreateParams.BacsDebitAdd all map key/value pairs to `extraParams` map.static classPaymentMethodCreateParams.BancontactSort code of the bank account.static classPaymentMethodCreateParams.BillingDetailsAdd all map key/value pairs to `extraParams` map.static classPaymentMethodCreateParams.Builderstatic classPaymentMethodCreateParams.CardDetailsState, county, province, or region.static classPaymentMethodCreateParams.EpsAdd all map key/value pairs to `extraParams` map.static classPaymentMethodCreateParams.Fpxstatic classPaymentMethodCreateParams.Giropaystatic classPaymentMethodCreateParams.GrabpayAdd all map key/value pairs to `extraParams` map.static classPaymentMethodCreateParams.IdealAdd all map key/value pairs to `extraParams` map.static classPaymentMethodCreateParams.InteracPresentstatic classPaymentMethodCreateParams.OxxoAdd all map key/value pairs to `extraParams` map.static classPaymentMethodCreateParams.P24Add all map key/value pairs to `extraParams` map.static classPaymentMethodCreateParams.SepaDebitstatic classPaymentMethodCreateParams.SofortIBAN of the bank account.static classPaymentMethodCreateParams.TokenThe card number, as a string without any separators.static classPaymentMethodCreateParams.Type-
Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam
-
-
Field Summary
-
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentMethodCreateParams.Builderbuilder()PaymentMethodCreateParams.AcssDebitgetAcssDebit()If this is anacss_debitPaymentMethod, this hash contains details about the ACSS Debit payment method.PaymentMethodCreateParams.AfterpayClearpaygetAfterpayClearpay()If this is anAfterpayClearpayPaymentMethod, this hash contains details about the AfterpayClearpay payment method.PaymentMethodCreateParams.AlipaygetAlipay()If this is anAlipayPaymentMethod, this hash contains details about the Alipay payment method.PaymentMethodCreateParams.AuBecsDebitgetAuBecsDebit()If this is anau_becs_debitPaymentMethod, this hash contains details about the bank account.PaymentMethodCreateParams.BacsDebitgetBacsDebit()If this is abacs_debitPaymentMethod, this hash contains details about the Bacs Direct Debit bank account.PaymentMethodCreateParams.BancontactgetBancontact()If this is abancontactPaymentMethod, this hash contains details about the Bancontact payment method.PaymentMethodCreateParams.BillingDetailsgetBillingDetails()Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.java.lang.ObjectgetCard()If this is acardPaymentMethod, this hash contains the user's card details.java.lang.StringgetCustomer()TheCustomerto whom the original PaymentMethod is attached.PaymentMethodCreateParams.EpsgetEps()If this is anepsPaymentMethod, this hash contains details about the EPS payment method.java.util.List<java.lang.String>getExpand()Specifies which fields in the response should be expanded.java.util.Map<java.lang.String,java.lang.Object>getExtraParams()Map of extra parameters for custom features not available in this client library.PaymentMethodCreateParams.FpxgetFpx()If this is anfpxPaymentMethod, this hash contains details about the FPX payment method.PaymentMethodCreateParams.GiropaygetGiropay()If this is agiropayPaymentMethod, this hash contains details about the Giropay payment method.PaymentMethodCreateParams.GrabpaygetGrabpay()If this is agrabpayPaymentMethod, this hash contains details about the GrabPay payment method.PaymentMethodCreateParams.IdealgetIdeal()If this is anidealPaymentMethod, this hash contains details about the iDEAL payment method.PaymentMethodCreateParams.InteracPresentgetInteracPresent()If this is aninterac_presentPaymentMethod, this hash contains details about the Interac Present payment method.java.util.Map<java.lang.String,java.lang.String>getMetadata()Set of key-value pairs that you can attach to an object.PaymentMethodCreateParams.OxxogetOxxo()If this is anoxxoPaymentMethod, this hash contains details about the OXXO payment method.PaymentMethodCreateParams.P24getP24()If this is ap24PaymentMethod, this hash contains details about the P24 payment method.java.lang.StringgetPaymentMethod()The PaymentMethod to share.PaymentMethodCreateParams.SepaDebitgetSepaDebit()If this is asepa_debitPaymentMethod, this hash contains details about the SEPA debit bank account.PaymentMethodCreateParams.SofortgetSofort()If this is asofortPaymentMethod, this hash contains details about the SOFORT payment method.PaymentMethodCreateParams.TypegetType()The type of the PaymentMethod.-
Methods inherited from class com.stripe.net.ApiRequestParams
toMap
-
-
-
-
Method Detail
-
builder
public static PaymentMethodCreateParams.Builder builder()
-
getAcssDebit
public PaymentMethodCreateParams.AcssDebit getAcssDebit()
If this is anacss_debitPaymentMethod, this hash contains details about the ACSS Debit payment method.
-
getAfterpayClearpay
public PaymentMethodCreateParams.AfterpayClearpay getAfterpayClearpay()
If this is anAfterpayClearpayPaymentMethod, this hash contains details about the AfterpayClearpay payment method.
-
getAlipay
public PaymentMethodCreateParams.Alipay getAlipay()
If this is anAlipayPaymentMethod, this hash contains details about the Alipay payment method.
-
getAuBecsDebit
public PaymentMethodCreateParams.AuBecsDebit getAuBecsDebit()
If this is anau_becs_debitPaymentMethod, this hash contains details about the bank account.
-
getBacsDebit
public PaymentMethodCreateParams.BacsDebit getBacsDebit()
If this is abacs_debitPaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
-
getBancontact
public PaymentMethodCreateParams.Bancontact getBancontact()
If this is abancontactPaymentMethod, 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.
-
getCard
public java.lang.Object getCard()
If this is acardPaymentMethod, 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 formatcard: {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()
TheCustomerto whom the original PaymentMethod is attached.
-
getEps
public PaymentMethodCreateParams.Eps getEps()
If this is anepsPaymentMethod, 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@SerializedNamevalue. 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 anfpxPaymentMethod, this hash contains details about the FPX payment method.
-
getGiropay
public PaymentMethodCreateParams.Giropay getGiropay()
If this is agiropayPaymentMethod, this hash contains details about the Giropay payment method.
-
getGrabpay
public PaymentMethodCreateParams.Grabpay getGrabpay()
If this is agrabpayPaymentMethod, this hash contains details about the GrabPay payment method.
-
getIdeal
public PaymentMethodCreateParams.Ideal getIdeal()
If this is anidealPaymentMethod, this hash contains details about the iDEAL payment method.
-
getInteracPresent
public PaymentMethodCreateParams.InteracPresent getInteracPresent()
If this is aninterac_presentPaymentMethod, this hash contains details about the Interac Present 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 tometadata.
-
getOxxo
public PaymentMethodCreateParams.Oxxo getOxxo()
If this is anoxxoPaymentMethod, this hash contains details about the OXXO payment method.
-
getP24
public PaymentMethodCreateParams.P24 getP24()
If this is ap24PaymentMethod, 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 asepa_debitPaymentMethod, this hash contains details about the SEPA debit bank account.
-
getSofort
public PaymentMethodCreateParams.Sofort getSofort()
If this is asofortPaymentMethod, 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.
-
-