public class SubscriptionScheduleCancelParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
SubscriptionScheduleCancelParams.Builder |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static SubscriptionScheduleCancelParams.Builder |
builder() |
java.util.List<java.lang.String> |
getExpand()
Specifies which fields in the response should be expanded.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
java.lang.Boolean |
getInvoiceNow()
If the subscription schedule is
active , indicates if a final invoice will be generated
that contains any un-invoiced metered usage and new/pending proration invoice items. |
java.lang.Boolean |
getProrate()
If the subscription schedule is
active , indicates if the cancellation should be
prorated. |
toMap
public static SubscriptionScheduleCancelParams.Builder builder()
public java.util.List<java.lang.String> getExpand()
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.public java.lang.Boolean getInvoiceNow()
active
, indicates if a final invoice will be generated
that contains any un-invoiced metered usage and new/pending proration invoice items. Defaults
to true
.public java.lang.Boolean getProrate()
active
, indicates if the cancellation should be
prorated. Defaults to true
.