public class SourceMandateNotification extends StripeObject implements HasId
Modifier and Type | Class and Description |
---|---|
static class |
SourceMandateNotification.BacsDebitData |
static class |
SourceMandateNotification.SepaDebitData |
PRETTY_PRINT_GSON
Constructor and Description |
---|
SourceMandateNotification() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
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.
|
SourceMandateNotification.BacsDebitData |
getBacsDebit() |
java.lang.Long |
getCreated()
Time at which the object was created.
|
java.lang.String |
getId()
Unique identifier for the object.
|
java.lang.Boolean |
getLivemode()
Has the value
true if the object exists in live mode or the value false if the
object exists in test mode. |
java.lang.String |
getObject()
String representing the object's type.
|
java.lang.String |
getReason()
The reason of the mandate notification.
|
SourceMandateNotification.SepaDebitData |
getSepaDebit() |
Source |
getSource()
Source objects allow you to accept a variety of payment methods. |
java.lang.String |
getStatus()
The status of the mandate notification.
|
java.lang.String |
getType()
The type of source this mandate notification is attached to.
|
int |
hashCode() |
void |
setAmount(java.lang.Long amount)
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.BacsDebitData bacsDebit) |
void |
setCreated(java.lang.Long created)
Time at which the object was created.
|
void |
setId(java.lang.String id)
Unique identifier for the object.
|
void |
setLivemode(java.lang.Boolean livemode)
Has the value
true if the object exists in live mode or the value false if the
object exists in test mode. |
void |
setObject(java.lang.String object)
String representing the object's type.
|
void |
setReason(java.lang.String reason)
The reason of the mandate notification.
|
void |
setSepaDebit(SourceMandateNotification.SepaDebitData sepaDebit) |
void |
setSource(Source source)
Source objects allow you to accept a variety of payment methods. |
void |
setStatus(java.lang.String status)
The status of the mandate notification.
|
void |
setType(java.lang.String type)
The type of source this mandate notification is attached to.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.lang.Long getAmount()
debit_initiated
.public SourceMandateNotification.BacsDebitData getBacsDebit()
public java.lang.Long getCreated()
public java.lang.Boolean getLivemode()
true
if the object exists in live mode or the value false
if the
object exists in test mode.public java.lang.String getObject()
Equal to source_mandate_notification
.
public java.lang.String getReason()
mandate_confirmed
or debit_initiated
.public SourceMandateNotification.SepaDebitData getSepaDebit()
public Source 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 a Card
object: once chargeable, they can be charged, or can be attached to customers.
Related guides: Sources API and Sources & Customers.
public java.lang.String getStatus()
pending
or submitted
.public java.lang.String getType()
three_d_secure
.public void setAmount(java.lang.Long amount)
debit_initiated
.public void setBacsDebit(SourceMandateNotification.BacsDebitData bacsDebit)
public void setCreated(java.lang.Long created)
public void setId(java.lang.String id)
public void setLivemode(java.lang.Boolean livemode)
true
if the object exists in live mode or the value false
if the
object exists in test mode.public void setObject(java.lang.String object)
Equal to source_mandate_notification
.
public void setReason(java.lang.String reason)
mandate_confirmed
or debit_initiated
.public void setSepaDebit(SourceMandateNotification.SepaDebitData sepaDebit)
public void setSource(Source source)
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 a Card
object: once chargeable, they can be charged, or can be attached to customers.
Related guides: Sources API and Sources & Customers.
public void setStatus(java.lang.String status)
pending
or submitted
.public void setType(java.lang.String type)
three_d_secure
.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