Class PaymentMethodBalance

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentMethodBalance
All Implemented Interfaces:
StripeObjectInterface

public class PaymentMethodBalance extends StripeObject
PaymentMethodBalance objects represent balances available on a payment method. You can use v1/payment_methods/:id/check_balance to check the balance of a payment method.
  • Constructor Details

    • PaymentMethodBalance

      public PaymentMethodBalance()
  • Method Details

    • getAsOf

      public Long getAsOf()
      The time at which the balance was calculated. Measured in seconds since the Unix epoch.
    • getBalance

      public PaymentMethodBalance.Balance getBalance()
      BalanceEntry contain information about every individual balance type of a card.
    • 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.
    • getObject

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

      Equal to payment_method_balance.

    • setAsOf

      public void setAsOf(Long asOf)
      The time at which the balance was calculated. Measured in seconds since the Unix epoch.
    • setBalance

      public void setBalance(PaymentMethodBalance.Balance balance)
      BalanceEntry contain information about every individual balance type of a card.
    • 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.
    • setObject

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

      Equal to payment_method_balance.

    • 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