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

    • getCustomPricingUnit

      public CreditGrant.Amount.CustomPricingUnit getCustomPricingUnit()
      The custom pricing unit amount.
    • 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.

      One of custom_pricing_unit, or monetary.

    • setCustomPricingUnit

      public void setCustomPricingUnit(CreditGrant.Amount.CustomPricingUnit customPricingUnit)
      The custom pricing unit amount.
    • 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.

      One of custom_pricing_unit, or 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