1 | <?php |
||
24 | class CreatingSubAccountEvent extends AbstractResponseEvent { |
||
25 | |||
26 | /** |
||
27 | * Creating sub-account. |
||
28 | * |
||
29 | * @var CreatingSubAccountInterface |
||
30 | */ |
||
31 | private $creatingSubAccount; |
||
32 | |||
33 | /** |
||
34 | * Constructor. |
||
35 | * |
||
36 | * @param CreatingSubAccountInterface $creatingSubAccount The creating sub-account. |
||
37 | */ |
||
38 | public function __construct(CreatingSubAccountInterface $creatingSubAccount) { |
||
42 | |||
43 | /** |
||
44 | * Get the creating sub-account. |
||
45 | * |
||
46 | * @return CreatingSubAccountInterface Returns the creating sub-account. |
||
47 | */ |
||
48 | public function getCreatingSubAccount() { |
||
51 | |||
52 | /** |
||
53 | * Get the creating sub-account request. |
||
54 | * |
||
55 | * @return CreatingSubAccountRequest Returns the creating sub-account request. |
||
56 | */ |
||
57 | public function getRequest() { |
||
60 | |||
61 | /** |
||
62 | * Get the creating sub-account response. |
||
63 | * |
||
64 | * @return CreatingSubAccountResponse Returns the creating sub-account response. |
||
65 | */ |
||
66 | public function getResponse() { |
||
69 | |||
70 | /** |
||
71 | * Set the creating sub-account. |
||
72 | * |
||
73 | * @param CreatingSubAccountInterface $creatingSubAccount The creating sub-account. |
||
74 | * @return CreatingSubAccountEvent Returns this creating sub-account event. |
||
75 | */ |
||
76 | protected function setCreatingSubAccount(CreatingSubAccountInterface $creatingSubAccount) { |
||
80 | } |
||
81 |