Package com.stripe.model
Class SubscriptionSchedule.DefaultSettings
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SubscriptionSchedule.DefaultSettings
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
SubscriptionSchedule
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
A non-negative decimal between 0 and 100, with at most two decimal places.Possible values arephase_start
orautomatic
.Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period.Eithercharge_automatically
, orsend_invoice
.Get ID of expandabledefaultPaymentMethod
object.Get expandeddefaultPaymentMethod
.The subscription schedule's default invoice settings.The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices.int
hashCode()
void
setApplicationFeePercent
(BigDecimal applicationFeePercent) A non-negative decimal between 0 and 100, with at most two decimal places.void
void
setBillingCycleAnchor
(String billingCycleAnchor) Possible values arephase_start
orautomatic
.void
setBillingThresholds
(Subscription.BillingThresholds billingThresholds) Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period.void
setCollectionMethod
(String collectionMethod) Eithercharge_automatically
, orsend_invoice
.void
void
setDefaultPaymentMethodObject
(PaymentMethod expandableObject) void
setInvoiceSettings
(SubscriptionSchedule.InvoiceSettings invoiceSettings) The subscription schedule's default invoice settings.void
setTransferData
(Subscription.TransferData transferData) The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices.Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
DefaultSettings
public DefaultSettings()
-
-
Method Details
-
getDefaultPaymentMethod
Get ID of expandabledefaultPaymentMethod
object. -
setDefaultPaymentMethod
-
getDefaultPaymentMethodObject
Get expandeddefaultPaymentMethod
. -
setDefaultPaymentMethodObject
-
getApplicationFeePercent
A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account during this phase of the schedule. -
getAutomaticTax
-
getBillingCycleAnchor
Possible values arephase_start
orautomatic
. Ifphase_start
then billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifautomatic
then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation.One of
automatic
, orphase_start
. -
getBillingThresholds
Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. -
getCollectionMethod
Eithercharge_automatically
, orsend_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.One of
charge_automatically
, orsend_invoice
. -
getInvoiceSettings
The subscription schedule's default invoice settings. -
getTransferData
The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices. -
setApplicationFeePercent
A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account during this phase of the schedule. -
setAutomaticTax
-
setBillingCycleAnchor
Possible values arephase_start
orautomatic
. Ifphase_start
then billing cycle anchor of the subscription is set to the start of the phase when entering the phase. Ifautomatic
then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation.One of
automatic
, orphase_start
. -
setBillingThresholds
Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. -
setCollectionMethod
Eithercharge_automatically
, orsend_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.One of
charge_automatically
, orsend_invoice
. -
setInvoiceSettings
The subscription schedule's default invoice settings. -
setTransferData
The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices. -
equals
-
canEqual
-
hashCode
public int hashCode()
-