-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added channelable PaymentMethod & ShippingMethod models to Foundation
- Loading branch information
1 parent
ef7907e
commit 4241015
Showing
4 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* Contains the PaymentMethod class. | ||
* | ||
* @copyright Copyright (c) 2023 Vanilo UG | ||
* @author Attila Fulop | ||
* @license MIT | ||
* @since 2023-09-08 | ||
* | ||
*/ | ||
|
||
namespace Vanilo\Foundation\Models; | ||
|
||
use Vanilo\Channel\Traits\Channelable; | ||
use Vanilo\Payment\Models\PaymentMethod as BasePaymentMethod; | ||
|
||
class PaymentMethod extends BasePaymentMethod | ||
{ | ||
use Channelable; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* Contains the ShippingMethod class. | ||
* | ||
* @copyright Copyright (c) 2023 Vanilo UG | ||
* @author Attila Fulop | ||
* @license MIT | ||
* @since 2023-09-08 | ||
* | ||
*/ | ||
|
||
namespace Vanilo\Foundation\Models; | ||
|
||
use Vanilo\Channel\Traits\Channelable; | ||
use Vanilo\Shipment\Models\ShippingMethod as BaseShippingMethod; | ||
|
||
class ShippingMethod extends BaseShippingMethod | ||
{ | ||
use Channelable; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters