Package com.stripe.model
Class AlipayAccount
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.AlipayAccount
- All Implemented Interfaces:
HasId
,PaymentSource
,StripeObjectInterface
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Time at which the object was created.Get ID of expandablecustomer
object.Get expandedcustomer
.Always true for a deleted object.Uniquely identifies the account and will be the same across all Alipay account objects that are linked to the same Alipay account.getId()
Unique identifier for the object.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.Set of key-value pairs that you can attach to an object.String representing the object's type.If the Alipay account object is not reusable, the exact amount that you can create a charge for.If the Alipay account object is not reusable, the exact currency that you can create a charge for.True if you can create multiple payments using this account.getUsed()
Whether this Alipay account object has ever been used for a payment.The username for the Alipay account.int
hashCode()
void
setCreated
(Long created) Time at which the object was created.void
setCustomer
(String id) void
setCustomerObject
(Customer expandableObject) void
setDeleted
(Boolean deleted) Always true for a deleted object.void
setFingerprint
(String fingerprint) Uniquely identifies the account and will be the same across all Alipay account objects that are linked to the same Alipay account.void
Unique identifier for the object.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
setMetadata
(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.void
String representing the object's type.void
setPaymentAmount
(Long paymentAmount) If the Alipay account object is not reusable, the exact amount that you can create a charge for.void
setPaymentCurrency
(String paymentCurrency) If the Alipay account object is not reusable, the exact currency that you can create a charge for.void
setReusable
(Boolean reusable) True if you can create multiple payments using this account.void
Whether this Alipay account object has ever been used for a payment.void
setUsername
(String username) The username for the Alipay account.Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.stripe.model.StripeObjectInterface
getLastResponse, setLastResponse
-
Constructor Details
-
AlipayAccount
public AlipayAccount()
-
-
Method Details
-
getCustomer
Get ID of expandablecustomer
object. -
setCustomer
-
getCustomerObject
Get expandedcustomer
. -
setCustomerObject
-
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getDeleted
Always true for a deleted object. -
getFingerprint
Uniquely identifies the account and will be the same across all Alipay account objects that are linked to the same Alipay account. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
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. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
alipay_account
. -
getPaymentAmount
If the Alipay account object is not reusable, the exact amount that you can create a charge for. -
getPaymentCurrency
If the Alipay account object is not reusable, the exact currency that you can create a charge for. -
getReusable
True if you can create multiple payments using this account. If the account is reusable, then you can freely choose the amount of each payment. -
getUsed
Whether this Alipay account object has ever been used for a payment. -
getUsername
The username for the Alipay account. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setDeleted
Always true for a deleted object. -
setFingerprint
Uniquely identifies the account and will be the same across all Alipay account objects that are linked to the same Alipay account. -
setId
Unique identifier for the object. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setMetadata
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. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
alipay_account
. -
setPaymentAmount
If the Alipay account object is not reusable, the exact amount that you can create a charge for. -
setPaymentCurrency
If the Alipay account object is not reusable, the exact currency that you can create a charge for. -
setReusable
True if you can create multiple payments using this account. If the account is reusable, then you can freely choose the amount of each payment. -
setUsed
Whether this Alipay account object has ever been used for a payment. -
setUsername
The username for the Alipay account. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-