Package com.stripe.model
Class PaymentMethodConfiguration
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.PaymentMethodConfiguration
- All Implemented Interfaces:
HasId
,StripeObjectInterface
An object detailing payment method configurations.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.static class
The effective display preference value.Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
Field Summary
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
static PaymentMethodConfiguration
Creates a payment method configuration.static PaymentMethodConfiguration
create
(PaymentMethodConfigurationCreateParams params, RequestOptions options) Creates a payment method configuration.static PaymentMethodConfiguration
Creates a payment method configuration.static PaymentMethodConfiguration
create
(Map<String, Object> params, RequestOptions options) Creates a payment method configuration.boolean
Whether the configuration can be used for new payments.The Connect application associated with this configuration.getBlik()
getCard()
getEps()
getFpx()
getId()
Unique identifier for the object.getIdeal()
The default configuration is used whenever no payment method configuration is specified.getJcb()
getLink()
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.getName()
Configuration name.String representing the object's type.getOxxo()
getP24()
The configuration's parent configuration.getUpi()
int
hashCode()
List payment method configurations.list
(PaymentMethodConfigurationListParams params, RequestOptions options) List payment method configurations.List payment method configurations.list
(Map<String, Object> params, RequestOptions options) List payment method configurations.static PaymentMethodConfiguration
Retrieve payment method configuration.static PaymentMethodConfiguration
retrieve
(String configuration, RequestOptions options) Retrieve payment method configuration.static PaymentMethodConfiguration
retrieve
(String configuration, PaymentMethodConfigurationRetrieveParams params, RequestOptions options) Retrieve payment method configuration.static PaymentMethodConfiguration
Retrieve payment method configuration.void
setAcssDebit
(PaymentMethodConfiguration.AcssDebit acssDebit) void
Whether the configuration can be used for new payments.void
void
setAfterpayClearpay
(PaymentMethodConfiguration.AfterpayClearpay afterpayClearpay) void
void
void
setApplication
(String application) The Connect application associated with this configuration.void
setAuBecsDebit
(PaymentMethodConfiguration.AuBecsDebit auBecsDebit) void
setBacsDebit
(PaymentMethodConfiguration.BacsDebit bacsDebit) void
setBancontact
(PaymentMethodConfiguration.Bancontact bancontact) void
void
void
void
setCartesBancaires
(PaymentMethodConfiguration.CartesBancaires cartesBancaires) void
void
void
void
void
setGooglePay
(PaymentMethodConfiguration.GooglePay googlePay) void
void
Unique identifier for the object.void
setIdBankTransfer
(PaymentMethodConfiguration.IdBankTransfer idBankTransfer) void
void
setIsDefault
(Boolean isDefault) The default configuration is used whenever no payment method configuration is specified.void
void
void
void
void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
setMultibanco
(PaymentMethodConfiguration.Multibanco multibanco) void
Configuration name.void
setNetbanking
(PaymentMethodConfiguration.Netbanking netbanking) void
String representing the object's type.void
void
void
The configuration's parent configuration.void
setPayByBank
(PaymentMethodConfiguration.PayByBank payByBank) void
void
setPromptpay
(PaymentMethodConfiguration.Promptpay promptpay) void
setSepaDebit
(PaymentMethodConfiguration.SepaDebit sepaDebit) void
void
void
setUsBankAccount
(PaymentMethodConfiguration.UsBankAccount usBankAccount) void
setWechatPay
(PaymentMethodConfiguration.WechatPay wechatPay) Update payment method configuration.update
(PaymentMethodConfigurationUpdateParams params, RequestOptions options) Update payment method configuration.Update payment method configuration.update
(Map<String, Object> params, RequestOptions options) Update payment method configuration.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, fullUrl, instanceUrl, instanceUrl, rawRequest, request, request, requestCollection, requestCollection, requestSearchResult, requestSearchResult, requestStream, requestStream, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
PaymentMethodConfiguration
public PaymentMethodConfiguration()
-
-
Method Details
-
create
Creates a payment method configuration.- Throws:
StripeException
-
create
public static PaymentMethodConfiguration create(Map<String, Object> params, RequestOptions options) throws StripeExceptionCreates a payment method configuration.- Throws:
StripeException
-
create
public static PaymentMethodConfiguration create(PaymentMethodConfigurationCreateParams params) throws StripeException Creates a payment method configuration.- Throws:
StripeException
-
create
public static PaymentMethodConfiguration create(PaymentMethodConfigurationCreateParams params, RequestOptions options) throws StripeException Creates a payment method configuration.- Throws:
StripeException
-
list
public static PaymentMethodConfigurationCollection list(Map<String, Object> params) throws StripeExceptionList payment method configurations.- Throws:
StripeException
-
list
public static PaymentMethodConfigurationCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionList payment method configurations.- Throws:
StripeException
-
list
public static PaymentMethodConfigurationCollection list(PaymentMethodConfigurationListParams params) throws StripeException List payment method configurations.- Throws:
StripeException
-
list
public static PaymentMethodConfigurationCollection list(PaymentMethodConfigurationListParams params, RequestOptions options) throws StripeException List payment method configurations.- Throws:
StripeException
-
retrieve
Retrieve payment method configuration.- Throws:
StripeException
-
retrieve
public static PaymentMethodConfiguration retrieve(String configuration, RequestOptions options) throws StripeException Retrieve payment method configuration.- Throws:
StripeException
-
retrieve
public static PaymentMethodConfiguration retrieve(String configuration, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieve payment method configuration.- Throws:
StripeException
-
retrieve
public static PaymentMethodConfiguration retrieve(String configuration, PaymentMethodConfigurationRetrieveParams params, RequestOptions options) throws StripeException Retrieve payment method configuration.- Throws:
StripeException
-
update
Update payment method configuration.- Throws:
StripeException
-
update
public PaymentMethodConfiguration update(Map<String, Object> params, RequestOptions options) throws StripeExceptionUpdate payment method configuration.- Throws:
StripeException
-
update
public PaymentMethodConfiguration update(PaymentMethodConfigurationUpdateParams params) throws StripeException Update payment method configuration.- Throws:
StripeException
-
update
public PaymentMethodConfiguration update(PaymentMethodConfigurationUpdateParams params, RequestOptions options) throws StripeException Update payment method configuration.- Throws:
StripeException
-
getAcssDebit
-
getActive
Whether the configuration can be used for new payments. -
getAffirm
-
getAfterpayClearpay
-
getAlipay
-
getApplePay
-
getApplication
The Connect application associated with this configuration. -
getAuBecsDebit
-
getBacsDebit
-
getBancontact
-
getBlik
-
getBoleto
-
getCard
-
getCartesBancaires
-
getCashapp
-
getEps
-
getFpx
-
getGiropay
-
getGooglePay
-
getGrabpay
-
getIdBankTransfer
-
getIdeal
-
getIsDefault
The default configuration is used whenever no payment method configuration is specified. -
getJcb
-
getKlarna
-
getKonbini
-
getLink
-
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getMultibanco
-
getName
Configuration name. -
getNetbanking
-
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
payment_method_configuration
. -
getOxxo
-
getP24
-
getParent
The configuration's parent configuration. -
getPayByBank
-
getPaynow
-
getPromptpay
-
getSepaDebit
-
getSofort
-
getUpi
-
getUsBankAccount
-
getWechatPay
-
setAcssDebit
-
setActive
Whether the configuration can be used for new payments. -
setAffirm
-
setAfterpayClearpay
-
setAlipay
-
setApplePay
-
setApplication
The Connect application associated with this configuration. -
setAuBecsDebit
-
setBacsDebit
-
setBancontact
-
setBlik
-
setBoleto
-
setCard
-
setCartesBancaires
-
setCashapp
-
setEps
-
setFpx
-
setGiropay
-
setGooglePay
-
setGrabpay
-
setId
Unique identifier for the object. -
setIdBankTransfer
-
setIdeal
-
setIsDefault
The default configuration is used whenever no payment method configuration is specified. -
setJcb
-
setKlarna
-
setKonbini
-
setLink
-
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setMultibanco
-
setName
Configuration name. -
setNetbanking
-
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
payment_method_configuration
. -
setOxxo
-
setP24
-
setParent
The configuration's parent configuration. -
setPayByBank
-
setPaynow
-
setPromptpay
-
setSepaDebit
-
setSofort
-
setUpi
-
setUsBankAccount
-
setWechatPay
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-