Package com.stripe.param
Class QuoteCreateParams.Line.Action.SetDiscount
java.lang.Object
com.stripe.param.QuoteCreateParams.Line.Action.SetDiscount
- Enclosing class:
- QuoteCreateParams.Line.Action
Required. ID of a price to remove.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe coupon code to replace thediscountsarray with.An ID of an existing discount to replace thediscountsarray with.Map of extra parameters for custom features not available in this client library.An ID of an existing promotion code to replace thediscountsarray with.inthashCode()
-
Method Details
-
builder
-
getCoupon
The coupon code to replace thediscountsarray with. -
getDiscount
An ID of an existing discount to replace thediscountsarray with. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedNamevalue. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance. -
getPromotionCode
An ID of an existing promotion code to replace thediscountsarray with. -
equals
-
canEqual
-
hashCode
public int hashCode()
-