Class AlipayAccount

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.AlipayAccount
All Implemented Interfaces:
HasId, PaymentSource, StripeObjectInterface

public class AlipayAccount extends StripeObject implements PaymentSource
  • Constructor Details

    • AlipayAccount

      public AlipayAccount()
  • Method Details

    • getCustomer

      public String getCustomer()
      Get ID of expandable customer object.
    • setCustomer

      public void setCustomer(String id)
    • getCustomerObject

      public Customer getCustomerObject()
      Get expanded customer.
    • setCustomerObject

      public void setCustomerObject(Customer expandableObject)
    • getCreated

      public Long getCreated()
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • getDeleted

      public Boolean getDeleted()
      Always true for a deleted object.
    • getFingerprint

      public String getFingerprint()
      Uniquely identifies the account and will be the same across all Alipay account objects that are linked to the same Alipay account.
    • getLivemode

      public Boolean getLivemode()
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • getMetadata

      public Map<String,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.
    • getObject

      public String getObject()
      String representing the object's type. Objects of the same type share the same value.

      Equal to alipay_account.

    • getPaymentAmount

      public Long getPaymentAmount()
      If the Alipay account object is not reusable, the exact amount that you can create a charge for.
    • getPaymentCurrency

      public String getPaymentCurrency()
      If the Alipay account object is not reusable, the exact currency that you can create a charge for.
    • getReusable

      public Boolean 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

      public Boolean getUsed()
      Whether this Alipay account object has ever been used for a payment.
    • getUsername

      public String getUsername()
      The username for the Alipay account.
    • setCreated

      public void setCreated(Long created)
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • setDeleted

      public void setDeleted(Boolean deleted)
      Always true for a deleted object.
    • setFingerprint

      public 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.
    • setId

      public void setId(String id)
      Unique identifier for the object.
    • setLivemode

      public void setLivemode(Boolean livemode)
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • setMetadata

      public void setMetadata(Map<String,String> metadata)
      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

      public void setObject(String object)
      String representing the object's type. Objects of the same type share the same value.

      Equal to alipay_account.

    • setPaymentAmount

      public void setPaymentAmount(Long paymentAmount)
      If the Alipay account object is not reusable, the exact amount that you can create a charge for.
    • setPaymentCurrency

      public void setPaymentCurrency(String paymentCurrency)
      If the Alipay account object is not reusable, the exact currency that you can create a charge for.
    • setReusable

      public void setReusable(Boolean reusable)
      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

      public void setUsed(Boolean used)
      Whether this Alipay account object has ever been used for a payment.
    • setUsername

      public void setUsername(String username)
      The username for the Alipay account.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getId

      public String getId()
      Unique identifier for the object.
      Specified by:
      getId in interface HasId