public class CountrySpec extends ApiResource implements HasId
Modifier and Type | Class and Description |
---|---|
static class |
CountrySpec.VerificationFields |
ApiResource.RequestMethod, ApiResource.RequestType
CHARSET, GSON
PRETTY_PRINT_GSON
Constructor and Description |
---|
CountrySpec() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDefaultCurrency() |
java.lang.String |
getId() |
java.lang.String |
getObject() |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getSupportedBankAccountCurrencies() |
java.util.List<java.lang.String> |
getSupportedPaymentCurrencies() |
java.util.List<java.lang.String> |
getSupportedPaymentMethods() |
java.util.List<java.lang.String> |
getSupportedTransferCountries() |
CountrySpec.VerificationFields |
getVerificationFields() |
int |
hashCode() |
static CountrySpecCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params)
List country specs.
|
static CountrySpecCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
List country specs.
|
static CountrySpec |
retrieve(java.lang.String country)
Retrieve a country spec.
|
static CountrySpec |
retrieve(java.lang.String country,
java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Retrieve a country spec.
|
static CountrySpec |
retrieve(java.lang.String country,
RequestOptions options)
Retrieve a country spec.
|
void |
setDefaultCurrency(java.lang.String defaultCurrency) |
void |
setId(java.lang.String id) |
void |
setObject(java.lang.String object) |
void |
setSupportedBankAccountCurrencies(java.util.Map<java.lang.String,java.util.List<java.lang.String>> supportedBankAccountCurrencies) |
void |
setSupportedPaymentCurrencies(java.util.List<java.lang.String> supportedPaymentCurrencies) |
void |
setSupportedPaymentMethods(java.util.List<java.lang.String> supportedPaymentMethods) |
void |
setSupportedTransferCountries(java.util.List<java.lang.String> supportedTransferCountries) |
void |
setVerificationFields(CountrySpec.VerificationFields verificationFields) |
classUrl, classUrl, instanceUrl, instanceUrl, multipartRequest, request, requestCollection, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode
equals, getLastResponse, setLastResponse, toJson, toString
public static CountrySpecCollection list(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
StripeException
public static CountrySpecCollection list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
StripeException
public static CountrySpec retrieve(java.lang.String country) throws StripeException
StripeException
public static CountrySpec retrieve(java.lang.String country, RequestOptions options) throws StripeException
StripeException
public static CountrySpec retrieve(java.lang.String country, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
StripeException
public java.lang.String getObject()
public java.lang.String getDefaultCurrency()
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getSupportedBankAccountCurrencies()
public java.util.List<java.lang.String> getSupportedPaymentCurrencies()
public java.util.List<java.lang.String> getSupportedPaymentMethods()
public java.util.List<java.lang.String> getSupportedTransferCountries()
public CountrySpec.VerificationFields getVerificationFields()
public void setId(java.lang.String id)
public void setObject(java.lang.String object)
public void setDefaultCurrency(java.lang.String defaultCurrency)
public void setSupportedBankAccountCurrencies(java.util.Map<java.lang.String,java.util.List<java.lang.String>> supportedBankAccountCurrencies)
public void setSupportedPaymentCurrencies(java.util.List<java.lang.String> supportedPaymentCurrencies)
public void setSupportedPaymentMethods(java.util.List<java.lang.String> supportedPaymentMethods)
public void setSupportedTransferCountries(java.util.List<java.lang.String> supportedTransferCountries)
public void setVerificationFields(CountrySpec.VerificationFields verificationFields)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object