Package com.stripe.model.checkout
Class Session.ShippingAddressCollection
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.checkout.Session.ShippingAddressCollection
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session
public static class Session.ShippingAddressCollection extends StripeObject
The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description ShippingAddressCollection()
-
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.util.List<java.lang.String>
getAllowedCountries()
An array of two-letter ISO country codes representing which countries Checkout should provide as options for shipping locations.int
hashCode()
void
setAllowedCountries(java.util.List<java.lang.String> allowedCountries)
An array of two-letter ISO country codes representing which countries Checkout should provide as options for shipping locations.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAllowedCountries
public java.util.List<java.lang.String> getAllowedCountries()
An array of two-letter ISO country codes representing which countries Checkout should provide as options for shipping locations. Unsupported country codes:AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI
.
-
setAllowedCountries
public void setAllowedCountries(java.util.List<java.lang.String> allowedCountries)
An array of two-letter ISO country codes representing which countries Checkout should provide as options for shipping locations. Unsupported country codes:AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI
.
-
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
-
-