| 1 | <?php |
||
| 9 | class Shipping_Method { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var WC_Shipping_Method $wc_shipping_method |
||
| 13 | */ |
||
| 14 | protected $wc_shipping_method; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Shipping_Method constructor. |
||
| 18 | * |
||
| 19 | * @param WC_Shipping_Method $wc_shipping_method |
||
| 20 | */ |
||
| 21 | public function __construct( $wc_shipping_method ) { |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param WC_Shipping_Method $wc_shipping_method |
||
| 27 | * |
||
| 28 | * @return Shipping_Method |
||
| 29 | */ |
||
| 30 | public static function from_wc_shipping_method( $wc_shipping_method ) { |
||
| 47 | |||
| 48 | public function add_available_delivery_method( &$jsonld ) { |
||
| 51 | |||
| 52 | } |