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
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
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.Time at which the object was created.getId()
Unique identifier for the object.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.String representing the object's type.The reason of the mandate notification.Source
objects 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.int
hashCode()
void
setAcssDebit
(SourceMandateNotification.AcssDebit acssDebit) void
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.void
setBacsDebit
(SourceMandateNotification.BacsDebit bacsDebit) void
setCreated
(Long created) Time at which the object was created.void
Unique identifier for the object.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
String representing the object's type.void
The reason of the mandate notification.void
setSepaDebit
(SourceMandateNotification.SepaDebit sepaDebit) void
Source
objects allow you to accept a variety of payment methods.void
The status of the mandate notification.void
The type of source this mandate notification is attached to.Methods inherited from class com.stripe.model.StripeObject
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 valuetrue
if the object exists in live mode or the valuefalse
if 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_confirmed
ordebit_initiated
. -
getSepaDebit
-
getSource
Source
objects 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 aCard
object: 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 arepending
orsubmitted
. -
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 valuetrue
if the object exists in live mode or the valuefalse
if 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_confirmed
ordebit_initiated
. -
setSepaDebit
-
setSource
Source
objects 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 aCard
object: 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 arepending
orsubmitted
. -
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.
-