Class CountrySpec

    • Constructor Detail

      • CountrySpec

        public CountrySpec()
    • Method Detail

      • getDefaultCurrency

        public java.lang.String getDefaultCurrency()
        The default currency for this country. This applies to both payment methods and bank accounts.
      • getObject

        public java.lang.String getObject()
        String representing the object's type. Objects of the same type share the same value.

        Equal to country_spec.

      • getSupportedBankAccountCurrencies

        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getSupportedBankAccountCurrencies()
        Currencies that can be accepted in the specific country (for transfers).
      • getSupportedPaymentCurrencies

        public java.util.List<java.lang.String> getSupportedPaymentCurrencies()
        Currencies that can be accepted in the specified country (for payments).
      • getSupportedPaymentMethods

        public java.util.List<java.lang.String> getSupportedPaymentMethods()
        Payment methods available in the specified country. You may need to enable some payment methods (e.g., ACH) on your account before they appear in this list. The stripe payment method refers to charging through your platform.
      • getSupportedTransferCountries

        public java.util.List<java.lang.String> getSupportedTransferCountries()
        Countries that can accept transfers from the specified country.
      • setDefaultCurrency

        public void setDefaultCurrency​(java.lang.String defaultCurrency)
        The default currency for this country. This applies to both payment methods and bank accounts.
      • setId

        public void setId​(java.lang.String id)
        Unique identifier for the object. Represented as the ISO country code for this country.
      • setObject

        public void setObject​(java.lang.String object)
        String representing the object's type. Objects of the same type share the same value.

        Equal to country_spec.

      • setSupportedBankAccountCurrencies

        public void setSupportedBankAccountCurrencies​(java.util.Map<java.lang.String,​java.util.List<java.lang.String>> supportedBankAccountCurrencies)
        Currencies that can be accepted in the specific country (for transfers).
      • setSupportedPaymentCurrencies

        public void setSupportedPaymentCurrencies​(java.util.List<java.lang.String> supportedPaymentCurrencies)
        Currencies that can be accepted in the specified country (for payments).
      • setSupportedPaymentMethods

        public void setSupportedPaymentMethods​(java.util.List<java.lang.String> supportedPaymentMethods)
        Payment methods available in the specified country. You may need to enable some payment methods (e.g., ACH) on your account before they appear in this list. The stripe payment method refers to charging through your platform.
      • setSupportedTransferCountries

        public void setSupportedTransferCountries​(java.util.List<java.lang.String> supportedTransferCountries)
        Countries that can accept transfers from the specified country.
      • 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
      • getId

        public java.lang.String getId()
        Unique identifier for the object. Represented as the ISO country code for this country.
        Specified by:
        getId in interface HasId