| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | class PaymentResultRequest extends Request { |
||
| 23 | /** |
||
| 24 | * Encrypted and signed payment result data. You should receive this value from the Checkout SDK after the shopper completes the payment. |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | private $payload; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Construct a payment result request object. |
||
| 32 | * |
||
| 33 | * @param string $payload Payload. |
||
| 34 | */ |
||
| 35 | 2 | public function __construct( $payload ) { |
|
| 37 | 2 | } |
|
| 38 | |||
| 39 | /** |
||
| 40 | * Get JSON. |
||
| 41 | * |
||
| 42 | * @return object |
||
| 43 | */ |
||
| 44 | 2 | public function get_json() { |
|
| 50 |