Package com.stripe.model.v2.billing
Class CollectionSetting
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.CollectionSetting
- All Implemented Interfaces:
HasId,StripeObjectInterface
Settings that configure and manage the behavior of collecting payments.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classEmail delivery settings.static classPayment Method specific configuration stored on the object. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanEither automatic, or send_invoice.Timestamp of when the object was created.An optional field for adding a display name for the CollectionSetting object.Email delivery settings.getId()The ID of the CollectionSetting.The latest version of the current settings object.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.The current live version of the settings object.A lookup key used to retrieve settings dynamically from a static string.String representing the object's type.The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers.Payment Method specific configuration stored on the object.inthashCode()voidsetCollectionMethod(String collectionMethod) Either automatic, or send_invoice.voidsetCreated(Instant created) Timestamp of when the object was created.voidsetDisplayName(String displayName) An optional field for adding a display name for the CollectionSetting object.voidsetEmailDelivery(CollectionSetting.EmailDelivery emailDelivery) Email delivery settings.voidThe ID of the CollectionSetting.voidsetLatestVersion(String latestVersion) The latest version of the current settings object.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetLiveVersion(String liveVersion) The current live version of the settings object.voidsetLookupKey(String lookupKey) A lookup key used to retrieve settings dynamically from a static string.voidString representing the object's type.voidsetPaymentMethodConfiguration(String paymentMethodConfiguration) The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers.voidsetPaymentMethodOptions(CollectionSetting.PaymentMethodOptions paymentMethodOptions) Payment Method specific configuration stored on the object.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CollectionSetting
public CollectionSetting()
-
-
Method Details
-
getCollectionMethod
Either automatic, or send_invoice. When charging automatically, Stripe will attempt to pay this bill at the end of the period using the payment method attached to the payer profile. When sending an invoice, Stripe will email your payer profile an invoice with payment instructions. Defaults to automatic.One of
automatic, orsend_invoice. -
getCreated
Timestamp of when the object was created. -
getDisplayName
An optional field for adding a display name for the CollectionSetting object. -
getEmailDelivery
Email delivery settings. -
getLatestVersion
The latest version of the current settings object. This will be Updated every time an attribute of the settings is updated. -
getLiveVersion
The current live version of the settings object. This can be different from latest_version if settings are updated without setting live_version='latest'. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
getLookupKey
A lookup key used to retrieve settings dynamically from a static string. This may be up to 200 characters. -
getObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.collection_setting. -
getPaymentMethodConfiguration
The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers. -
getPaymentMethodOptions
Payment Method specific configuration stored on the object. -
setCollectionMethod
Either automatic, or send_invoice. When charging automatically, Stripe will attempt to pay this bill at the end of the period using the payment method attached to the payer profile. When sending an invoice, Stripe will email your payer profile an invoice with payment instructions. Defaults to automatic.One of
automatic, orsend_invoice. -
setCreated
Timestamp of when the object was created. -
setDisplayName
An optional field for adding a display name for the CollectionSetting object. -
setEmailDelivery
Email delivery settings. -
setId
The ID of the CollectionSetting. -
setLatestVersion
The latest version of the current settings object. This will be Updated every time an attribute of the settings is updated. -
setLiveVersion
The current live version of the settings object. This can be different from latest_version if settings are updated without setting live_version='latest'. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
setLookupKey
A lookup key used to retrieve settings dynamically from a static string. This may be up to 200 characters. -
setObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.collection_setting. -
setPaymentMethodConfiguration
The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers. -
setPaymentMethodOptions
Payment Method specific configuration stored on the object. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
The ID of the CollectionSetting.
-