Initial Commit
This commit is contained in:
37
dependencies/stripe/stripe-php/lib/Service/Tax/SettingsService.php
vendored
Normal file
37
dependencies/stripe/stripe-php/lib/Service/Tax/SettingsService.php
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
// File generated from our OpenAPI spec
|
||||
namespace WP_Ultimo\Dependencies\Stripe\Service\Tax;
|
||||
|
||||
class SettingsService extends \WP_Ultimo\Dependencies\Stripe\Service\AbstractService
|
||||
{
|
||||
/**
|
||||
* Retrieves Tax <code>Settings</code> for a merchant.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|array|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\Tax\Settings
|
||||
*/
|
||||
public function retrieve($params = null, $opts = null)
|
||||
{
|
||||
return $this->request('get', '/v1/tax/settings', $params, $opts);
|
||||
}
|
||||
/**
|
||||
* Updates Tax <code>Settings</code> parameters used in tax calculations. All
|
||||
* parameters are editable but none can be removed once set.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|array|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\Tax\Settings
|
||||
*/
|
||||
public function update($params = null, $opts = null)
|
||||
{
|
||||
return $this->request('post', '/v1/tax/settings', $params, $opts);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user