| Total Complexity | 6 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class ARBGetSubscriptionListRequest extends ARBSubscriptionRequest |
||
| 14 | { |
||
| 15 | protected $searchType; |
||
| 16 | |||
| 17 | protected $sorting; |
||
| 18 | |||
| 19 | protected $paging; |
||
| 20 | |||
| 21 | public function __construct( |
||
| 22 | Configuration $configuration, |
||
| 23 | Client $client, |
||
| 24 | $searchType |
||
| 25 | ) { |
||
| 26 | parent::__construct($configuration, $client); |
||
| 27 | $this->searchType = $searchType; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param \CommerceGuys\AuthNet\DataTypes\Sorting $sorting |
||
| 32 | * @return $this |
||
| 33 | */ |
||
| 34 | public function setSorting(Sorting $sorting) |
||
| 35 | { |
||
| 36 | $this->sorting = $sorting; |
||
| 37 | return $this; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param \CommerceGuys\AuthNet\DataTypes\Paging $paging |
||
| 42 | * @return $this |
||
| 43 | */ |
||
| 44 | public function setPaging(Paging $paging) |
||
| 48 | } |
||
| 49 | |||
| 50 | protected function attachData(RequestInterface $request) |
||
| 58 | } |
||
| 59 | } |
||
| 60 | } |
||
| 61 |