1.2.2
Added
- method public forcePay(Product $product): Transfer.
- method public forceRefund(Product $product): bool.
Changed
- the
$force
parameter was added to thepay
method.
public pay(Product $product, bool $force = false): Transfer. - the
$force
parameter was added to thesafePay
method.
public safePay(Product $product, bool $force = false): ?Transfer. - the
$force
parameter was added to thecanBuy
method.
public canBuy(Customer $customer, bool $force = false): bool. - the
$force
parameter was added to therefund
method.
public refund(Product $product, bool $force = false): bool. - the
$force
parameter was added to thesafeRefund
method.
public safeRefund(Product $product, bool $force = false): bool.
Fixed
- Fixed magic method.
He accounted for unconfirmed transactions.
What's Changed
- add force method's by @rez1dent3 in #13
Full Changelog: 1.2.1...1.2.2