public static class InvoiceUpcomingParams.Discount
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
InvoiceUpcomingParams.Discount.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InvoiceUpcomingParams.Discount.Builder |
builder() |
java.lang.String |
getCoupon()
ID of the coupon to create a new discount for.
|
java.lang.String |
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 InvoiceUpcomingParams.Discount.Builder builder()
public java.lang.String getCoupon()
public java.lang.String 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.