public class AlipayAccount extends StripeObject implements PaymentSource
PRETTY_PRINT_GSON
Constructor and Description |
---|
AlipayAccount() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getCreated()
Time at which the object was created.
|
java.lang.String |
getCustomer()
Get id of expandable `customer` object.
|
Customer |
getCustomerObject()
Get expanded `customer`.
|
java.lang.Boolean |
getDeleted()
Always true for a deleted object.
|
java.lang.String |
getFingerprint()
Uniquely identifies the account and will be the same across all Alipay account objects that are
linked to the same Alipay account.
|
java.lang.String |
getId()
Unique identifier for the object.
|
java.lang.Boolean |
getLivemode()
Has the value `true` if the object exists in live mode or the value `false` if the object
exists in test mode.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Set of key-value pairs that you can attach to an object.
|
java.lang.String |
getObject()
String representing the object's type.
|
java.lang.Long |
getPaymentAmount()
If the Alipay account object is not reusable, the exact amount that you can create a charge
for.
|
java.lang.String |
getPaymentCurrency()
If the Alipay account object is not reusable, the exact currency that you can create a charge
for.
|
java.lang.Boolean |
getReusable()
True if you can create multiple payments using this account.
|
java.lang.Boolean |
getUsed()
Whether this Alipay account object has ever been used for a payment.
|
java.lang.String |
getUsername()
The username for the Alipay account.
|
int |
hashCode() |
void |
setCreated(java.lang.Long created)
Time at which the object was created.
|
void |
setCustomer(java.lang.String id) |
void |
setCustomerObject(Customer expandableObject) |
void |
setDeleted(java.lang.Boolean deleted)
Always true for a deleted object.
|
void |
setFingerprint(java.lang.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 |
setId(java.lang.String id)
Unique identifier for the object.
|
void |
setLivemode(java.lang.Boolean livemode)
Has the value `true` if the object exists in live mode or the value `false` if the object
exists in test mode.
|
void |
setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Set of key-value pairs that you can attach to an object.
|
void |
setObject(java.lang.String object)
String representing the object's type.
|
void |
setPaymentAmount(java.lang.Long paymentAmount)
If the Alipay account object is not reusable, the exact amount that you can create a charge
for.
|
void |
setPaymentCurrency(java.lang.String paymentCurrency)
If the Alipay account object is not reusable, the exact currency that you can create a charge
for.
|
void |
setReusable(java.lang.Boolean reusable)
True if you can create multiple payments using this account.
|
void |
setUsed(java.lang.Boolean used)
Whether this Alipay account object has ever been used for a payment.
|
void |
setUsername(java.lang.String username)
The username for the Alipay account.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLastResponse, setLastResponse
public java.lang.String getCustomer()
public void setCustomer(java.lang.String id)
public Customer getCustomerObject()
public void setCustomerObject(Customer expandableObject)
public java.lang.Long getCreated()
public java.lang.Boolean getDeleted()
public java.lang.String getFingerprint()
public java.lang.Boolean getLivemode()
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
public java.lang.String getObject()
Equal to `alipay_account`.
public java.lang.Long getPaymentAmount()
public java.lang.String getPaymentCurrency()
public java.lang.Boolean getReusable()
public java.lang.Boolean getUsed()
public java.lang.String getUsername()
public void setCreated(java.lang.Long created)
public void setDeleted(java.lang.Boolean deleted)
public void setFingerprint(java.lang.String fingerprint)
public void setId(java.lang.String id)
public void setLivemode(java.lang.Boolean livemode)
public void setMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
public void setObject(java.lang.String object)
Equal to `alipay_account`.
public void setPaymentAmount(java.lang.Long paymentAmount)
public void setPaymentCurrency(java.lang.String paymentCurrency)
public void setReusable(java.lang.Boolean reusable)
public void setUsed(java.lang.Boolean used)
public void setUsername(java.lang.String username)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object