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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanTime at which the object was created.Get ID of expandablecustomerobject.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 valuetrueif the object exists in live mode or the valuefalseif 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.inthashCode()voidsetCreated(Long created) Time at which the object was created.voidsetCustomer(String id) voidsetCustomerObject(Customer expandableObject) voidsetDeleted(Boolean deleted) Always true for a deleted object.voidsetFingerprint(String fingerprint) Uniquely identifies the account and will be the same across all Alipay account objects that are linked to the same Alipay account.voidUnique identifier for the object.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidString representing the object's type.voidsetPaymentAmount(Long paymentAmount) If the Alipay account object is not reusable, the exact amount that you can create a charge for.voidsetPaymentCurrency(String paymentCurrency) If the Alipay account object is not reusable, the exact currency that you can create a charge for.voidsetReusable(Boolean reusable) True if you can create multiple payments using this account.voidWhether this Alipay account object has ever been used for a payment.voidsetUsername(String username) The username for the Alipay account.Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeObjectInterface
getLastResponse, setLastResponse
-
Constructor Details
-
AlipayAccount
public AlipayAccount()
-
-
Method Details
-
getCustomer
Get ID of expandablecustomerobject. -
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 valuetrueif the object exists in live mode or the valuefalseif 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 valuetrueif the object exists in live mode or the valuefalseif 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.
-