Package com.stripe.model
Class Mandate.PaymentMethodDetails
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Mandate.PaymentMethodDetails
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Mandate
public static class Mandate.PaymentMethodDetails extends StripeObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Mandate.PaymentMethodDetails.AcssDebit
static class
Mandate.PaymentMethodDetails.Card
static class
Mandate.PaymentMethodDetails.SepaDebit
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description PaymentMethodDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
Mandate.PaymentMethodDetails.AcssDebit
getAcssDebit()
Mandate.AuBecsDebit
getAuBecsDebit()
Mandate.BacsDebit
getBacsDebit()
Mandate.PaymentMethodDetails.Card
getCard()
Mandate.PaymentMethodDetails.SepaDebit
getSepaDebit()
java.lang.String
getType()
The type of the payment method associated with this mandate.int
hashCode()
void
setAcssDebit(Mandate.PaymentMethodDetails.AcssDebit acssDebit)
void
setAuBecsDebit(Mandate.AuBecsDebit auBecsDebit)
void
setBacsDebit(Mandate.BacsDebit bacsDebit)
void
setCard(Mandate.PaymentMethodDetails.Card card)
void
setSepaDebit(Mandate.PaymentMethodDetails.SepaDebit sepaDebit)
void
setType(java.lang.String type)
The type of the payment method associated with this mandate.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAcssDebit
public Mandate.PaymentMethodDetails.AcssDebit getAcssDebit()
-
getAuBecsDebit
public Mandate.AuBecsDebit getAuBecsDebit()
-
getBacsDebit
public Mandate.BacsDebit getBacsDebit()
-
getCard
public Mandate.PaymentMethodDetails.Card getCard()
-
getSepaDebit
public Mandate.PaymentMethodDetails.SepaDebit getSepaDebit()
-
getType
public java.lang.String getType()
The type of the payment method associated with this mandate. An additional hash is included onpayment_method_details
with a name matching this value. It contains mandate information specific to the payment method.
-
setAcssDebit
public void setAcssDebit(Mandate.PaymentMethodDetails.AcssDebit acssDebit)
-
setAuBecsDebit
public void setAuBecsDebit(Mandate.AuBecsDebit auBecsDebit)
-
setBacsDebit
public void setBacsDebit(Mandate.BacsDebit bacsDebit)
-
setCard
public void setCard(Mandate.PaymentMethodDetails.Card card)
-
setSepaDebit
public void setSepaDebit(Mandate.PaymentMethodDetails.SepaDebit sepaDebit)
-
setType
public void setType(java.lang.String type)
The type of the payment method associated with this mandate. An additional hash is included onpayment_method_details
with a name matching this value. It contains mandate information specific to the payment method.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-