- Enclosing class:
public static class InvoiceUpcomingParams.InvoiceItem.Discount extends Object
Nested Class SummaryModifier and TypeClassDescription
Method SummaryModifier and TypeMethodDescription
builder()ID of the coupon to create a new discount for.ID of an existing discount on the object (or one of its ancestors) to reuse.Map of extra parameters for custom features not available in this client library.
builderpublic static InvoiceUpcomingParams.InvoiceItem.Discount.Builder builder()
getCouponpublic String getCoupon()ID of the coupon to create a new discount for.
getDiscountpublic String getDiscount()ID of an existing discount on the object (or one of its ancestors) to reuse.
getExtraParamsMap 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.