Class 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.
    • Constructor Detail

      • ShippingAddressCollection

        public ShippingAddressCollection()
    • 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 class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object