Class Invoice.AutomaticTax.Liability

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Invoice.AutomaticTax.Liability
All Implemented Interfaces:
StripeActiveObject, StripeObjectInterface
Enclosing class:
Invoice.AutomaticTax

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

    • Liability

      public Liability()
  • Method Details

    • getAccount

      public String getAccount()
      Get ID of expandable account object.
    • setAccount

      public void setAccount(String id)
    • getAccountObject

      public Account getAccountObject()
      Get expanded account.
    • setAccountObject

      public void setAccountObject(Account expandableObject)
    • 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.
    • getType

      public String getType()
      Type of the account referenced.

      One of account, or self.

    • setType

      public void setType(String type)
      Type of the account referenced.

      One of account, or self.

    • 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