Package com.stripe.model.billing
Class CreditBalanceTransaction.Credit.Amount
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billing.CreditBalanceTransaction.Credit.Amount
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- CreditBalanceTransaction.Credit
For more details about Amount, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about CustomPricingUnit, please refer to the API Reference.static classFor more details about Monetary, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe custom pricing unit amount.The monetary amount.getType()The type of this amount.inthashCode()voidsetCustomPricingUnit(CreditBalanceTransaction.Credit.Amount.CustomPricingUnit customPricingUnit) The custom pricing unit amount.voidThe monetary amount.voidThe type of this amount.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Amount
public Amount()
-
-
Method Details
-
getCustomPricingUnit
The custom pricing unit amount. -
getMonetary
The monetary amount. -
getType
The type of this amount. We currently only supportmonetarybilling credits.One of
custom_pricing_unit, ormonetary. -
setCustomPricingUnit
public void setCustomPricingUnit(CreditBalanceTransaction.Credit.Amount.CustomPricingUnit customPricingUnit) The custom pricing unit amount. -
setMonetary
The monetary amount. -
setType
The type of this amount. We currently only supportmonetarybilling credits.One of
custom_pricing_unit, ormonetary. -
equals
-
canEqual
-
hashCode
public int hashCode()
-