Class CreditBalanceTransaction.Credit

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

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

    • Credit

      public Credit()
  • 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

    • getCreditsApplicationInvoiceVoided

      public CreditBalanceTransaction.Credit.CreditsApplicationInvoiceVoided getCreditsApplicationInvoiceVoided()
      Details of the invoice to which the reinstated credits were originally applied. Only present if type is credits_application_invoice_voided.
    • getType

      public String getType()
      The type of credit transaction.

      One of credits_application_invoice_voided, or credits_granted.

    • setAmount

      public void setAmount(CreditBalanceTransaction.Credit.Amount amount)
    • setCreditsApplicationInvoiceVoided

      public void setCreditsApplicationInvoiceVoided(CreditBalanceTransaction.Credit.CreditsApplicationInvoiceVoided creditsApplicationInvoiceVoided)
      Details of the invoice to which the reinstated credits were originally applied. Only present if type is credits_application_invoice_voided.
    • setType

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

      One of credits_application_invoice_voided, or credits_granted.

    • 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