public class SubscriptionCancelParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
SubscriptionCancelParams.Builder |
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static SubscriptionCancelParams.Builder |
builder() |
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()
Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending
proration invoice items.
|
java.lang.Boolean |
getProrate()
Will generate a proration invoice item that credits remaining unused time until the
subscription period end.
|
toMap
public static SubscriptionCancelParams.Builder builder()
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()
public java.lang.Boolean getProrate()