Class CreditGrant.Amount

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billing.CreditGrant.Amount
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
CreditGrant

public static class CreditGrant.Amount extends StripeObject
For more details about Amount, please refer to the API Reference.
  • Constructor Details

    • Amount

      public Amount()
  • Method Details

    • getMonetary

      public CreditGrant.Amount.Monetary getMonetary()
      The monetary amount.
    • getType

      public String getType()
      The type of this amount. We currently only support monetary billing credits.

      Equal to monetary.

    • setMonetary

      public void setMonetary(CreditGrant.Amount.Monetary monetary)
      The monetary amount.
    • setType

      public void setType(String type)
      The type of this amount. We currently only support monetary billing credits.

      Equal to monetary.

    • 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