Package com.stripe.model.tax
Class Settings
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.tax.Settings
- All Implemented Interfaces:
- StripeActiveObject,- StripeObjectInterface
You can use Tax 
Settings to manage configurations used by Stripe Tax calculations.
 Related guide: Using the Settings API
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classFor more details about Defaults, please refer to the API Reference.static classFor more details about HeadOffice, please refer to the API Reference.static classFor more details about StatusDetails, please refer to the API Reference.Nested classes/interfaces inherited from class com.stripe.net.ApiResourceApiResource.RequestMethod
- 
Field SummaryFields inherited from class com.stripe.net.ApiResourceCHARSET, GSON, INTERNAL_GSONFields inherited from class com.stripe.model.StripeObjectPRETTY_PRINT_GSON
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanThe place where your business is located.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.The status of the TaxSettings.inthashCode()static Settingsretrieve()Retrieves TaxSettingsfor a merchant.static Settingsretrieve(RequestOptions options) Retrieves TaxSettingsfor a merchant.static Settingsretrieve(SettingsRetrieveParams params, RequestOptions options) Retrieves TaxSettingsfor a merchant.static Settingsretrieve(Map<String, Object> params, RequestOptions options) Retrieves TaxSettingsfor a merchant.voidsetDefaults(Settings.Defaults defaults) voidsetHeadOffice(Settings.HeadOffice headOffice) The place where your business is located.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString representing the object's type.voidsetResponseGetter(StripeResponseGetter responseGetter) The list of missing fields that are required to perform calculations.voidThe status of the TaxSettings.voidsetStatusDetails(Settings.StatusDetails statusDetails) static Settingsupdate(SettingsUpdateParams params) Updates TaxSettingsparameters used in tax calculations.static Settingsupdate(SettingsUpdateParams params, RequestOptions options) Updates TaxSettingsparameters used in tax calculations.static SettingsUpdates TaxSettingsparameters used in tax calculations.static Settingsupdate(Map<String, Object> params, RequestOptions options) Updates TaxSettingsparameters used in tax calculations.Methods inherited from class com.stripe.net.ApiResourcecheckNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObjectdeserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObjecttrySetResponseGetter
- 
Constructor Details- 
Settingspublic Settings()
 
- 
- 
Method Details- 
retrieveRetrieves TaxSettingsfor a merchant.- Throws:
- StripeException
 
- 
retrieveRetrieves TaxSettingsfor a merchant.- Throws:
- StripeException
 
- 
retrievepublic static Settings retrieve(Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves TaxSettingsfor a merchant.- Throws:
- StripeException
 
- 
retrievepublic static Settings retrieve(SettingsRetrieveParams params, RequestOptions options) throws StripeException Retrieves TaxSettingsfor a merchant.- Throws:
- StripeException
 
- 
updateUpdates TaxSettingsparameters used in tax calculations. All parameters are editable but none can be removed once set.- Throws:
- StripeException
 
- 
updatepublic static Settings update(Map<String, Object> params, RequestOptions options) throws StripeExceptionUpdates TaxSettingsparameters used in tax calculations. All parameters are editable but none can be removed once set.- Throws:
- StripeException
 
- 
updateUpdates TaxSettingsparameters used in tax calculations. All parameters are editable but none can be removed once set.- Throws:
- StripeException
 
- 
updatepublic static Settings update(SettingsUpdateParams params, RequestOptions options) throws StripeException Updates TaxSettingsparameters used in tax calculations. All parameters are editable but none can be removed once set.- Throws:
- StripeException
 
- 
setResponseGetterThe list of missing fields that are required to perform calculations. It includes the entryhead_officewhen the status ispending. It is recommended to set the optional values even if they aren't listed as required for calculating taxes. Calculations can fail if missing fields aren't explicitly provided on every call.- Specified by:
- setResponseGetterin interface- StripeActiveObject
- Overrides:
- setResponseGetterin class- ApiResource
- Parameters:
- responseGetter- the- StripeResponseGetterinstance to use for making further requests.
 
- 
getDefaults
- 
getHeadOfficeThe place where your business is located.
- 
getLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
getObjectString representing the object's type. Objects of the same type share the same value.Equal to tax.settings.
- 
getStatusThe status of the TaxSettings.One of active, orpending.
- 
getStatusDetails
- 
setDefaults
- 
setHeadOfficeThe place where your business is located.
- 
setLivemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.
- 
setObjectString representing the object's type. Objects of the same type share the same value.Equal to tax.settings.
- 
setStatusThe status of the TaxSettings.One of active, orpending.
- 
setStatusDetails
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
 
-