mirror of
https://github.com/bitinflow/accounts.git
synced 2026-03-17 23:45:52 +00:00
Update HasBitinflowPaymentsWallet.php
This commit is contained in:
@@ -13,6 +13,14 @@ use GuzzleHttp\Exception\GuzzleException;
|
|||||||
use GuzzleHttp\RequestOptions;
|
use GuzzleHttp\RequestOptions;
|
||||||
use Illuminate\Http\Client\PendingRequest;
|
use Illuminate\Http\Client\PendingRequest;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @property Balance balance
|
||||||
|
* @property CheckoutSessions checkout_sessions
|
||||||
|
* @property Orders orders
|
||||||
|
* @property Subscriptions subscriptions
|
||||||
|
* @property Taxation taxation
|
||||||
|
* @property Wallets wallets
|
||||||
|
*/
|
||||||
trait HasBitinflowPaymentsWallet
|
trait HasBitinflowPaymentsWallet
|
||||||
{
|
{
|
||||||
protected $paymentsUser = null;
|
protected $paymentsUser = null;
|
||||||
@@ -59,32 +67,32 @@ trait HasBitinflowPaymentsWallet
|
|||||||
return $this->paymentsUser;
|
return $this->paymentsUser;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function balance(): Balance
|
public function getBalanceAttribute(): Balance
|
||||||
{
|
{
|
||||||
return new Balance($this);
|
return new Balance($this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function checkoutSessions(): CheckoutSessions
|
public function getCheckoutSessionsAttribute(): CheckoutSessions
|
||||||
{
|
{
|
||||||
return new CheckoutSessions($this);
|
return new CheckoutSessions($this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function orders(): Orders
|
public function getOrdersAttribute(): Orders
|
||||||
{
|
{
|
||||||
return new Orders($this);
|
return new Orders($this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function subscriptions(): Subscriptions
|
public function getSubscriptionsAttribute(): Subscriptions
|
||||||
{
|
{
|
||||||
return new Subscriptions($this);
|
return new Subscriptions($this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function taxation(): Taxation
|
public function getTaxationAttribute(): Taxation
|
||||||
{
|
{
|
||||||
return new Taxation($this);
|
return new Taxation($this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function wallets(): Wallets
|
public function getWalletsAttribute(): Wallets
|
||||||
{
|
{
|
||||||
return new Wallets($this);
|
return new Wallets($this);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user