Package com.stripe.model
Class SourceMandateNotification
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SourceMandateNotification
- All Implemented Interfaces:
HasId,StripeObjectInterface
Source mandate notifications should be created when a notification related to a source mandate
must be sent to the payer. They will trigger a webhook or deliver an email to the customer.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about AcssDebit, please refer to the API Reference.static classFor more details about BacsDebit, please refer to the API Reference.static classFor more details about SepaDebit, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanA positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount associated with the mandate notification.Time at which the object was created.getId()Unique identifier for the 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 reason of the mandate notification.Sourceobjects allow you to accept a variety of payment methods.The status of the mandate notification.getType()The type of source this mandate notification is attached to.inthashCode()voidsetAcssDebit(SourceMandateNotification.AcssDebit acssDebit) voidA positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount associated with the mandate notification.voidsetBacsDebit(SourceMandateNotification.BacsDebit bacsDebit) voidsetCreated(Long created) Time at which the object was created.voidUnique identifier for the 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.voidThe reason of the mandate notification.voidsetSepaDebit(SourceMandateNotification.SepaDebit sepaDebit) voidSourceobjects allow you to accept a variety of payment methods.voidThe status of the mandate notification.voidThe type of source this mandate notification is attached to.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
SourceMandateNotification
public SourceMandateNotification()
-
-
Method Details
-
getAcssDebit
-
getAmount
A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount associated with the mandate notification. The amount is expressed in the currency of the underlying source. Required if the notification type isdebit_initiated. -
getBacsDebit
-
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
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.Equal to
source_mandate_notification. -
getReason
The reason of the mandate notification. Valid reasons aremandate_confirmedordebit_initiated. -
getSepaDebit
-
getSource
Sourceobjects allow you to accept a variety of payment methods. They represent a customer's payment instrument, and can be used with the Stripe API just like aCardobject: once chargeable, they can be charged, or can be attached to customers.Stripe doesn't recommend using the deprecated Sources API. We recommend that you adopt the PaymentMethods API. This newer API provides access to our latest features and payment method types.
Related guides: Sources API and Sources & Customers.
-
getStatus
The status of the mandate notification. Valid statuses arependingorsubmitted. -
getType
The type of source this mandate notification is attached to. Should be the source type identifier code for the payment method, such asthree_d_secure. -
setAcssDebit
-
setAmount
A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount associated with the mandate notification. The amount is expressed in the currency of the underlying source. Required if the notification type isdebit_initiated. -
setBacsDebit
-
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setId
Unique identifier for the 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.Equal to
source_mandate_notification. -
setReason
The reason of the mandate notification. Valid reasons aremandate_confirmedordebit_initiated. -
setSepaDebit
-
setSource
Sourceobjects allow you to accept a variety of payment methods. They represent a customer's payment instrument, and can be used with the Stripe API just like aCardobject: once chargeable, they can be charged, or can be attached to customers.Stripe doesn't recommend using the deprecated Sources API. We recommend that you adopt the PaymentMethods API. This newer API provides access to our latest features and payment method types.
Related guides: Sources API and Sources & Customers.
-
setStatus
The status of the mandate notification. Valid statuses arependingorsubmitted. -
setType
The type of source this mandate notification is attached to. Should be the source type identifier code for the payment method, such asthree_d_secure. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-