Package com.stripe.model.billing
Class CreditGrant.Amount.CustomPricingUnit
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billing.CreditGrant.Amount.CustomPricingUnit
- All Implemented Interfaces:
HasId
,StripeObjectInterface
- Enclosing class:
- CreditGrant.Amount
For more details about CustomPricingUnit, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about CustomPricingUnitDetails, 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 boolean
boolean
The custom pricing unit object.getId()
Unique identifier for the object.getValue()
A positive integer representing the amount.int
hashCode()
void
setCustomPricingUnitDetails
(CreditGrant.Amount.CustomPricingUnit.CustomPricingUnitDetails customPricingUnitDetails) The custom pricing unit object.void
Unique identifier for the object.void
setValue
(BigDecimal value) A positive integer representing the amount.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CustomPricingUnit
public CustomPricingUnit()
-
-
Method Details
-
getCustomPricingUnitDetails
The custom pricing unit object. -
getValue
A positive integer representing the amount. -
setCustomPricingUnitDetails
public void setCustomPricingUnitDetails(CreditGrant.Amount.CustomPricingUnit.CustomPricingUnitDetails customPricingUnitDetails) The custom pricing unit object. -
setId
Unique identifier for the object. -
setValue
A positive integer representing the amount. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-