Total Complexity | 5 |
Total Lines | 69 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | class PaymentDetailsRequest extends Request { |
||
23 | /** |
||
24 | * Use this collection to submit the details that were returned as a result of the /payments call. |
||
25 | * |
||
26 | * @var object|null |
||
27 | */ |
||
28 | private $details; |
||
29 | |||
30 | /** |
||
31 | * The paymentData value that you received in the response to the /payments call. |
||
32 | * |
||
33 | * @var string|null |
||
34 | */ |
||
35 | private $payment_data; |
||
36 | |||
37 | /** |
||
38 | * Get details. |
||
39 | * |
||
40 | * @return object|null |
||
41 | */ |
||
42 | public function get_details() { |
||
43 | return $this->details; |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * Set details. |
||
48 | * |
||
49 | * @param object|null $details Details. |
||
50 | * @return void |
||
51 | */ |
||
52 | public function set_details( $details ) { |
||
53 | $this->details = $details; |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * Get payment data. |
||
58 | * |
||
59 | * @return string|null |
||
60 | */ |
||
61 | public function get_payment_data() { |
||
62 | return $this->payment_data; |
||
63 | } |
||
64 | |||
65 | /** |
||
66 | * Set payment data. |
||
67 | * |
||
68 | * @param string|null $payment_data Payment data. |
||
69 | * @return void |
||
70 | */ |
||
71 | public function set_payment_data( $payment_data ) { |
||
73 | } |
||
74 | |||
75 | /** |
||
76 | * Get JSON. |
||
77 | * |
||
78 | * @return object |
||
79 | */ |
||
80 | public function get_json() { |
||
91 | } |
||
92 | } |
||
93 |