public static class SubscriptionSchedule.DefaultSettings extends StripeObject
PRETTY_PRINT_GSON
Constructor and Description |
---|
DefaultSettings() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
Subscription.BillingThresholds |
getBillingThresholds()
Define thresholds at which an invoice will be sent, and the subscription advanced to a new
billing period.
|
java.lang.String |
getCollectionMethod()
Either `charge_automatically`, or `send_invoice`.
|
java.lang.String |
getDefaultPaymentMethod()
Get id of expandable `defaultPaymentMethod` object.
|
PaymentMethod |
getDefaultPaymentMethodObject()
Get expanded `defaultPaymentMethod`.
|
SubscriptionSchedule.InvoiceSettings |
getInvoiceSettings()
The subscription schedule's default invoice settings.
|
int |
hashCode() |
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(java.lang.String collectionMethod)
Either `charge_automatically`, or `send_invoice`.
|
void |
setDefaultPaymentMethod(java.lang.String id) |
void |
setDefaultPaymentMethodObject(PaymentMethod expandableObject) |
void |
setInvoiceSettings(SubscriptionSchedule.InvoiceSettings invoiceSettings)
The subscription schedule's default invoice settings.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.lang.String getDefaultPaymentMethod()
public void setDefaultPaymentMethod(java.lang.String id)
public PaymentMethod getDefaultPaymentMethodObject()
public void setDefaultPaymentMethodObject(PaymentMethod expandableObject)
public Subscription.BillingThresholds getBillingThresholds()
public java.lang.String getCollectionMethod()
public SubscriptionSchedule.InvoiceSettings getInvoiceSettings()
public void setBillingThresholds(Subscription.BillingThresholds billingThresholds)
public void setCollectionMethod(java.lang.String collectionMethod)
public void setInvoiceSettings(SubscriptionSchedule.InvoiceSettings invoiceSettings)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object