Package com.stripe.model.checkout
Class Session.PaymentMethodOptions.Boleto
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.checkout.Session.PaymentMethodOptions.Boleto
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session.PaymentMethodOptions
public static class Session.PaymentMethodOptions.Boleto extends StripeObject
Transaction type of the mandate.One of
business
, orpersonal
.
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description Boleto()
-
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)
java.lang.Long
getExpiresAfterDays()
The number of calendar days before a Boleto voucher expires.int
hashCode()
void
setExpiresAfterDays(java.lang.Long expiresAfterDays)
The number of calendar days before a Boleto voucher expires.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getExpiresAfterDays
public java.lang.Long getExpiresAfterDays()
The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time.
-
setExpiresAfterDays
public void setExpiresAfterDays(java.lang.Long expiresAfterDays)
The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time.
-
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
-
-