Package com.stripe.model.v2.billing
Class CollectionSettingVersion
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.CollectionSettingVersion
- All Implemented Interfaces:
HasId,StripeObjectInterface
-
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.Email delivery settings.getId()The ID of the CollectionSettingVersion object.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.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.voidsetEmailDelivery(CollectionSettingVersion.EmailDelivery emailDelivery) Email delivery settings.voidThe ID of the CollectionSettingVersion object.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.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(CollectionSettingVersion.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
-
CollectionSettingVersion
public CollectionSettingVersion()
-
-
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. -
getEmailDelivery
Email delivery settings. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
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_version. -
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. -
setEmailDelivery
Email delivery settings. -
setId
The ID of the CollectionSettingVersion object. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
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_version. -
setPaymentMethodConfiguration
The ID of the PaymentMethodConfiguration object, which controls which payment methods are displayed to your customers. -
setPaymentMethodOptions
public void setPaymentMethodOptions(CollectionSettingVersion.PaymentMethodOptions paymentMethodOptions) Payment Method specific configuration stored on the object. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
The ID of the CollectionSettingVersion object.
-