Class CreditBalanceTransaction.Debit

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billing.CreditBalanceTransaction.Debit
All Implemented Interfaces:
StripeActiveObject, StripeObjectInterface
Enclosing class:
CreditBalanceTransaction

public static class CreditBalanceTransaction.Debit extends StripeObject implements StripeActiveObject
For more details about Debit, please refer to the API Reference.
  • Constructor Details

    • Debit

      public Debit()
  • Method Details

    • setResponseGetter

      public void setResponseGetter(StripeResponseGetter responseGetter)
      Description copied from interface: StripeActiveObject
      Method is used by the containing object or StripeResponseGetter implementations to set the StripeResponseGetter instance used to make further requests.
      Specified by:
      setResponseGetter in interface StripeActiveObject
      Parameters:
      responseGetter - the StripeResponseGetter instance to use for making further requests.
    • getAmount

    • getCreditsApplied

      Details of how the billing credits were applied to an invoice. Only present if type is credits_applied.
    • getType

      public String getType()
      The type of debit transaction.

      One of credits_applied, credits_expired, or credits_voided.

    • setAmount

      public void setAmount(CreditBalanceTransaction.Debit.Amount amount)
    • setCreditsApplied

      public void setCreditsApplied(CreditBalanceTransaction.Debit.CreditsApplied creditsApplied)
      Details of how the billing credits were applied to an invoice. Only present if type is credits_applied.
    • setType

      public void setType(String type)
      The type of debit transaction.

      One of credits_applied, credits_expired, or credits_voided.

    • 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