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 classMandate.PaymentMethodDetails.AcssDebitstatic classMandate.PaymentMethodDetails.Cardstatic classMandate.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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)Mandate.PaymentMethodDetails.AcssDebitgetAcssDebit()Mandate.AuBecsDebitgetAuBecsDebit()Mandate.BacsDebitgetBacsDebit()Mandate.PaymentMethodDetails.CardgetCard()Mandate.PaymentMethodDetails.SepaDebitgetSepaDebit()java.lang.StringgetType()The type of the payment method associated with this mandate.inthashCode()voidsetAcssDebit(Mandate.PaymentMethodDetails.AcssDebit acssDebit)voidsetAuBecsDebit(Mandate.AuBecsDebit auBecsDebit)voidsetBacsDebit(Mandate.BacsDebit bacsDebit)voidsetCard(Mandate.PaymentMethodDetails.Card card)voidsetSepaDebit(Mandate.PaymentMethodDetails.SepaDebit sepaDebit)voidsetType(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_detailswith 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_detailswith a name matching this value. It contains mandate information specific to the payment method.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-