public static class SubscriptionScheduleUpdateParams.DefaultSettings
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds |
static class |
SubscriptionScheduleUpdateParams.DefaultSettings.Builder |
static class |
SubscriptionScheduleUpdateParams.DefaultSettings.CollectionMethod
Add all map key/value pairs to `extraParams` map.
|
static class |
SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings
Indicates if the
billing_cycle_anchor should be reset when a threshold is
reached. |
Modifier and Type | Method and Description |
---|---|
static SubscriptionScheduleUpdateParams.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.
|
SubscriptionScheduleUpdateParams.DefaultSettings.CollectionMethod |
getCollectionMethod()
Either
charge_automatically , or send_invoice . |
java.lang.Object |
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.
|
SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings |
getInvoiceSettings()
All invoices will be billed using the specified settings.
|
public static SubscriptionScheduleUpdateParams.DefaultSettings.Builder builder()
public java.lang.Object getBillingThresholds()
public SubscriptionScheduleUpdateParams.DefaultSettings.CollectionMethod getCollectionMethod()
charge_automatically
, or send_invoice
. When charging automatically,
Stripe will attempt to pay the underlying subscription at the end of each billing cycle using
the default source attached to the customer. When sending an invoice, Stripe will email your
customer an invoice with payment instructions. Defaults to charge_automatically
on
creation.public java.lang.Object 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 SubscriptionScheduleUpdateParams.DefaultSettings.InvoiceSettings getInvoiceSettings()