public static class SubscriptionScheduleCreateParams.DefaultSettings
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SubscriptionScheduleCreateParams.DefaultSettings.BillingThresholds |
static class |
SubscriptionScheduleCreateParams.DefaultSettings.Builder |
static class |
SubscriptionScheduleCreateParams.DefaultSettings.CollectionMethod
Add all map key/value pairs to `extraParams` map.
|
static class |
SubscriptionScheduleCreateParams.DefaultSettings.InvoiceSettings
Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached.
|
Modifier and Type | Method and Description |
---|---|
static SubscriptionScheduleCreateParams.DefaultSettings.Builder |
builder() |
java.lang.Object |
getBillingThresholds()
Define thresholds at which an invoice will be sent, and the subscription advanced to a new
billing period.
|
SubscriptionScheduleCreateParams.DefaultSettings.CollectionMethod |
getCollectionMethod()
Either `charge_automatically`, or `send_invoice`.
|
java.lang.String |
getDefaultPaymentMethod()
ID of the default payment method for the subscription schedule.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtraParams()
Map of extra parameters for custom features not available in this client library.
|
SubscriptionScheduleCreateParams.DefaultSettings.InvoiceSettings |
getInvoiceSettings()
All invoices will be billed using the specified settings.
|
public static SubscriptionScheduleCreateParams.DefaultSettings.Builder builder()
public java.lang.Object getBillingThresholds()
public SubscriptionScheduleCreateParams.DefaultSettings.CollectionMethod getCollectionMethod()
public java.lang.String getDefaultPaymentMethod()
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 SubscriptionScheduleCreateParams.DefaultSettings.InvoiceSettings getInvoiceSettings()