PluginProbe
AliNext – WooCommerce Dropshipping Plugin for AliExpress / trunk
AliNext – WooCommerce Dropshipping Plugin for AliExpress vtrunk
ali2woo-lite / includes / classes / dto / api / OrderPreviewDataDto.php

OrderPreviewDataDto.php in AliNext – WooCommerce Dropshipping Plugin for AliExpress trunk, at includes/classes/dto/api/OrderPreviewDataDto.php

53 lines 902 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Description of OrderPreviewDataDto
5 *
6 * @author Ali2Woo Team
7 */
8
9 namespace AliNext_Lite;;
10
11 class OrderPreviewDataDto
12 {
13 /**
14 * @param array|OrderPreviewItemDto[] $items
15 */
16 public function __construct(
17 private array $items,
18 private string $countryCode,
19 private string $country,
20 private string $province = '',
21 private string $city = '',
22 ) {}
23
24 /**
25 * @return array|OrderPreviewItemDto[]
26 */
27 public function getItems(): array
28 {
29 return $this->items;
30 }
31
32 public function getCountry(): string
33 {
34 return $this->country;
35 }
36
37 public function getCountryCode(): string
38 {
39 return $this->countryCode;
40 }
41
42 public function getProvince(): string
43 {
44 return $this->province;
45 }
46
47 public function getCity(): string
48 {
49 return $this->city;
50 }
51
52 }
53