HasIdpublic class CountrySpec extends ApiResource implements HasId
| Modifier and Type | Class | Description |
|---|---|---|
static class |
CountrySpec.VerificationFields |
ApiResource.RequestMethod, ApiResource.RequestTypeCHARSET, GSONPRETTY_PRINT_GSON| Constructor | Description |
|---|---|
CountrySpec() |
| Modifier and Type | Method | 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() |
|
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,
RequestOptions options) |
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.
|
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 |
setVerificationFields(CountrySpec.VerificationFields verificationFields) |
classUrl, classUrl, instanceUrl, instanceUrl, multipartRequest, request, requestCollection, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, getLastResponse, setLastResponse, toJson, toStringpublic static CountrySpecCollection list(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
StripeExceptionpublic static CountrySpecCollection list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
StripeExceptionpublic static CountrySpec retrieve(java.lang.String country) throws StripeException
StripeExceptionpublic static CountrySpec retrieve(java.lang.String country, RequestOptions options) throws StripeException
StripeExceptionpublic static CountrySpec retrieve(java.lang.String country, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
StripeExceptionpublic 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 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 setVerificationFields(CountrySpec.VerificationFields verificationFields)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Object