public static class InvoiceItemUpdateParams.Discount
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
InvoiceItemUpdateParams.Discount.Builder |
Modifier and Type | Method and Description |
---|---|
static InvoiceItemUpdateParams.Discount.Builder |
builder() |
java.lang.Object |
getCoupon()
ID of the coupon to create a new discount for.
|
java.lang.Object |
getDiscount()
ID of an existing discount on the object (or one of its ancestors) to reuse.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
public static InvoiceItemUpdateParams.Discount.Builder builder()
public java.lang.Object getCoupon()
public java.lang.Object getDiscount()
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@SerializedName
value. 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.