HasId
public class CountrySpec extends APIResource implements HasId
APIResource.RequestMethod, APIResource.RequestType
CHARSET, GSON
PRETTY_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() |
|
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.
|
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(VerificationFields verificationFields) |
classURL, classURL, instanceURL, instanceURL, multipartRequest, request, requestCollection, setExpandableFieldID, setStripeResponseGetter, singleClassURL, singleClassURL, subresourceURL, urlEncode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getLastResponse, setLastResponse, toJson, toString
public static CountrySpecCollection list(java.util.Map<java.lang.String,java.lang.Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static CountrySpecCollection list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static CountrySpec retrieve(java.lang.String country) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static CountrySpec retrieve(java.lang.String country, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
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 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(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