Package com.stripe.model
Class Invoice.PaymentMethodOptions
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Invoice.PaymentMethodOptions
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Invoice
public static class Invoice.PaymentMethodOptions extends StripeObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Invoice.PaymentMethodOptions.AcssDebit
static class
Invoice.PaymentMethodOptions.Bancontact
Transaction type of the mandate.static class
Invoice.PaymentMethodOptions.Card
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description PaymentMethodOptions()
-
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)
Invoice.PaymentMethodOptions.AcssDebit
getAcssDebit()
If paying byacss_debit
, this sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.Invoice.PaymentMethodOptions.Bancontact
getBancontact()
If paying bybancontact
, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.Invoice.PaymentMethodOptions.Card
getCard()
If paying bycard
, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.int
hashCode()
void
setAcssDebit(Invoice.PaymentMethodOptions.AcssDebit acssDebit)
If paying byacss_debit
, this sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.void
setBancontact(Invoice.PaymentMethodOptions.Bancontact bancontact)
If paying bybancontact
, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.void
setCard(Invoice.PaymentMethodOptions.Card card)
If paying bycard
, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAcssDebit
public Invoice.PaymentMethodOptions.AcssDebit getAcssDebit()
If paying byacss_debit
, this sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.
-
getBancontact
public Invoice.PaymentMethodOptions.Bancontact getBancontact()
If paying bybancontact
, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.
-
getCard
public Invoice.PaymentMethodOptions.Card getCard()
If paying bycard
, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.
-
setAcssDebit
public void setAcssDebit(Invoice.PaymentMethodOptions.AcssDebit acssDebit)
If paying byacss_debit
, this sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.
-
setBancontact
public void setBancontact(Invoice.PaymentMethodOptions.Bancontact bancontact)
If paying bybancontact
, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.
-
setCard
public void setCard(Invoice.PaymentMethodOptions.Card card)
If paying bycard
, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.
-
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
-
-