mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Bump stripe-php from 16.4.0 to 17.2.1
This commit is contained in:
@@ -8,10 +8,10 @@ namespace Stripe;
|
||||
* A customer's <code>Cash balance</code> represents real funds. Customers can add funds to their cash balance by sending a bank transfer. These funds can be used for payment and can eventually be paid out to your bank account.
|
||||
*
|
||||
* @property string $object String representing the object's type. Objects of the same type share the same value.
|
||||
* @property null|\Stripe\StripeObject $available A hash of all cash balances available to this customer. You cannot delete a customer with any cash balances, even if the balance is 0. Amounts are represented in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>.
|
||||
* @property null|StripeObject $available A hash of all cash balances available to this customer. You cannot delete a customer with any cash balances, even if the balance is 0. Amounts are represented in the <a href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>.
|
||||
* @property string $customer The ID of the customer whose cash balance this object represents.
|
||||
* @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
|
||||
* @property \Stripe\StripeObject $settings
|
||||
* @property (object{reconciliation_mode: string, using_merchant_default: bool}&StripeObject) $settings
|
||||
*/
|
||||
class CashBalance extends ApiResource
|
||||
{
|
||||
@@ -35,13 +35,13 @@ class CashBalance extends ApiResource
|
||||
* @param array|string $_id
|
||||
* @param null|array|string $_opts
|
||||
*
|
||||
* @throws \Stripe\Exception\BadMethodCallException
|
||||
* @throws Exception\BadMethodCallException
|
||||
*/
|
||||
public static function retrieve($_id, $_opts = null)
|
||||
{
|
||||
$msg = 'Customer Cash Balance cannot be retrieved without a ' .
|
||||
'customer ID. Retrieve a Customer Cash Balance using ' .
|
||||
"`Customer::retrieveCashBalance('customer_id')`.";
|
||||
$msg = 'Customer Cash Balance cannot be retrieved without a '
|
||||
. 'customer ID. Retrieve a Customer Cash Balance using '
|
||||
. "`Customer::retrieveCashBalance('customer_id')`.";
|
||||
|
||||
throw new Exception\BadMethodCallException($msg);
|
||||
}
|
||||
@@ -51,13 +51,13 @@ class CashBalance extends ApiResource
|
||||
* @param null|array $_params
|
||||
* @param null|array|string $_options
|
||||
*
|
||||
* @throws \Stripe\Exception\BadMethodCallException
|
||||
* @throws Exception\BadMethodCallException
|
||||
*/
|
||||
public static function update($_id, $_params = null, $_options = null)
|
||||
{
|
||||
$msg = 'Customer Cash Balance cannot be updated without a ' .
|
||||
'customer ID. Retrieve a Customer Cash Balance using ' .
|
||||
"`Customer::updateCashBalance('customer_id')`.";
|
||||
$msg = 'Customer Cash Balance cannot be updated without a '
|
||||
. 'customer ID. Retrieve a Customer Cash Balance using '
|
||||
. "`Customer::updateCashBalance('customer_id')`.";
|
||||
|
||||
throw new Exception\BadMethodCallException($msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user