Class AlipayAccount

    • Constructor Summary

      Constructors 
      Constructor Description
      AlipayAccount()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AlipayAccount

        public AlipayAccount()
    • Method Detail

      • getCustomer

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

        public void setCustomer​(java.lang.String id)
      • getCustomerObject

        public Customer getCustomerObject()
        Get expanded customer.
      • setCustomerObject

        public void setCustomerObject​(Customer expandableObject)
      • getCreated

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

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

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

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

        public java.util.Map<java.lang.String,​java.lang.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 java.lang.String getObject()
        String representing the object's type. Objects of the same type share the same value.

        Equal to alipay_account.

      • getPaymentAmount

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

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

        public java.lang.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 java.lang.Boolean getUsed()
        Whether this Alipay account object has ever been used for a payment.
      • getUsername

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

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

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

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

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

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

        public void setMetadata​(java.util.Map<java.lang.String,​java.lang.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​(java.lang.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​(java.lang.Long paymentAmount)
        If the Alipay account object is not reusable, the exact amount that you can create a charge for.
      • setPaymentCurrency

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

        public void setReusable​(java.lang.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​(java.lang.Boolean used)
        Whether this Alipay account object has ever been used for a payment.
      • setUsername

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

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