Package com.stripe.model.v2.billing
Class ServiceAction.CreditGrant.Amount.CustomPricingUnit
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.ServiceAction.CreditGrant.Amount.CustomPricingUnit
- All Implemented Interfaces:
HasId,StripeObjectInterface
- Enclosing class:
- ServiceAction.CreditGrant.Amount
public static class ServiceAction.CreditGrant.Amount.CustomPricingUnit
extends StripeObject
implements HasId
The custom pricing unit amount of the credit grant. Required if
type is
custom_pricing_unit.-
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 object.getId()The id of the custom pricing unit.getValue()The value of the credit grant, decimal value represented as a string.inthashCode()voidsetCustomPricingUnitDetails(CustomPricingUnit customPricingUnitDetails) The Custom Pricing Unit object.voidThe id of the custom pricing unit.voidThe value of the credit grant, decimal value represented as a string.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
The value of the credit grant, decimal value represented as a string. -
setCustomPricingUnitDetails
The Custom Pricing Unit object. -
setId
The id of the custom pricing unit. -
setValue
The value of the credit grant, decimal value represented as a string. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
The id of the custom pricing unit.
-