1 | <?php |
||
12 | class InvoiceDefaults implements CreatableFromArray |
||
13 | { |
||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | private $defaultMessage; |
||
18 | |||
19 | /** |
||
20 | * @var int |
||
21 | */ |
||
22 | private $defaultInterestRate; |
||
23 | |||
24 | /** |
||
25 | * @var int |
||
26 | */ |
||
27 | private $defaultReminderFee; |
||
28 | |||
29 | /** |
||
30 | * @var int |
||
31 | */ |
||
32 | private $defaultInvoiceFee; |
||
33 | |||
34 | /** |
||
35 | * @var AutomaticReminder |
||
36 | */ |
||
37 | private $automaticReminders; |
||
38 | |||
39 | /** |
||
40 | * @var AutomaticReminderWriteOff |
||
41 | */ |
||
42 | private $automaticWriteoff; |
||
43 | |||
44 | /** |
||
45 | * @var AutomaticReminderCollection |
||
46 | */ |
||
47 | private $automaticCollection; |
||
48 | |||
49 | /** |
||
50 | * @return string |
||
51 | */ |
||
52 | public function getDefaultMessage() |
||
56 | |||
57 | /** |
||
58 | * @param string $defaultMessage |
||
59 | * |
||
60 | * @return InvoiceDefaults |
||
61 | */ |
||
62 | public function withDefaultMessage(string $defaultMessage) |
||
69 | |||
70 | /** |
||
71 | * @return int |
||
72 | */ |
||
73 | public function getDefaultInterestRate() |
||
77 | |||
78 | /** |
||
79 | * @param int $defaultInterestRate |
||
80 | * |
||
81 | * @return InvoiceDefaults |
||
82 | */ |
||
83 | public function withDefaultInterestRate(int $defaultInterestRate) |
||
90 | |||
91 | /** |
||
92 | * @return int |
||
93 | */ |
||
94 | public function getDefaultReminderFee() |
||
98 | |||
99 | /** |
||
100 | * @param int $defaultReminderFee |
||
101 | * |
||
102 | * @return InvoiceDefaults |
||
103 | */ |
||
104 | public function withDefaultReminderFee(int $defaultReminderFee) |
||
111 | |||
112 | /** |
||
113 | * @return int |
||
114 | */ |
||
115 | public function getDefaultInvoiceFee() |
||
119 | |||
120 | /** |
||
121 | * @param int $defaultInvoiceFee |
||
122 | * |
||
123 | * @return InvoiceDefaults |
||
124 | */ |
||
125 | public function withDefaultInvoiceFee(int $defaultInvoiceFee) |
||
132 | |||
133 | /** |
||
134 | * @return AutomaticReminder |
||
135 | */ |
||
136 | public function getAutomaticReminders() |
||
140 | |||
141 | /** |
||
142 | * @param AutomaticReminder $automaticReminders |
||
143 | * |
||
144 | * @return InvoiceDefaults |
||
145 | */ |
||
146 | public function withAutomaticReminders(AutomaticReminder $automaticReminders) |
||
153 | |||
154 | /** |
||
155 | * @return AutomaticReminderWriteOff |
||
156 | */ |
||
157 | public function getAutomaticReminderWriteOff() |
||
161 | |||
162 | /** |
||
163 | * @param AutomaticReminderWriteOff $automaticWriteoff |
||
164 | * |
||
165 | * @return InvoiceDefaults |
||
166 | */ |
||
167 | public function withAutomaticWriteoff(AutomaticReminderWriteOff $automaticWriteoff) |
||
174 | |||
175 | /** |
||
176 | * @return AutomaticReminderCollection |
||
177 | */ |
||
178 | public function getAutomaticReminderCollection() |
||
182 | |||
183 | /** |
||
184 | * @param AutomaticReminderCollection $automaticCollection |
||
185 | * |
||
186 | * @return InvoiceDefaults |
||
187 | */ |
||
188 | public function withAutomaticCollection(AutomaticReminderCollection $automaticCollection) |
||
195 | |||
196 | /** |
||
197 | * Create an API response object from the HTTP response from the API server. |
||
198 | * |
||
199 | * @param array $data |
||
200 | * |
||
201 | * @return self |
||
202 | */ |
||
203 | 2 | public static function createFromArray(array $data) |
|
216 | |||
217 | 1 | public function toArray() |
|
244 | } |
||
245 |