Skip to content

Commit 8e29e8c

Browse files
committed
DEV-4836
Signed-off-by: Christian Pleintinger <christian.pleintinger@intranetx.com>
1 parent 0345f4a commit 8e29e8c

16 files changed

+1708
-167
lines changed

src/Model/BasicCustomer.php

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ class BasicCustomer implements ModelInterface, ArrayAccess
6363
'name' => 'string',
6464
'type' => '\Domainrobot\Model\CustomerType',
6565
'organization' => 'string',
66+
'organization2' => 'string',
6667
'vatNumber' => 'string',
6768
'gender' => '\Domainrobot\Model\GenderConstants',
6869
'title' => 'string',
@@ -74,11 +75,13 @@ class BasicCustomer implements ModelInterface, ArrayAccess
7475
'fax' => '\Domainrobot\Model\Phone',
7576
'emails' => 'string[]',
7677
'billingEmails' => 'string[]',
78+
'contacts' => '\Domainrobot\Model\Contact[]',
7779
'payment' => '\Domainrobot\Model\PaymentConstants',
7880
'paymentMode' => 'string',
7981
'paymentCurrency' => 'string',
8082
'discountValid' => '\DateTime',
8183
'invoiceLanguage' => 'string',
84+
'pin' => 'string',
8285
'taxable' => 'bool',
8386
'card' => '\Domainrobot\Model\Card',
8487
'contracts' => '\Domainrobot\Model\CustomerContract[]',
@@ -106,6 +109,7 @@ class BasicCustomer implements ModelInterface, ArrayAccess
106109
'name' => null,
107110
'type' => null,
108111
'organization' => null,
112+
'organization2' => null,
109113
'vatNumber' => null,
110114
'gender' => null,
111115
'title' => null,
@@ -117,11 +121,13 @@ class BasicCustomer implements ModelInterface, ArrayAccess
117121
'fax' => null,
118122
'emails' => null,
119123
'billingEmails' => null,
124+
'contacts' => null,
120125
'payment' => null,
121126
'paymentMode' => null,
122127
'paymentCurrency' => null,
123128
'discountValid' => 'date-time',
124129
'invoiceLanguage' => null,
130+
'pin' => null,
125131
'taxable' => null,
126132
'card' => null,
127133
'contracts' => null,
@@ -170,6 +176,7 @@ public static function swaggerFormats()
170176
'name' => 'name',
171177
'type' => 'type',
172178
'organization' => 'organization',
179+
'organization2' => 'organization2',
173180
'vatNumber' => 'vatNumber',
174181
'gender' => 'gender',
175182
'title' => 'title',
@@ -181,11 +188,13 @@ public static function swaggerFormats()
181188
'fax' => 'fax',
182189
'emails' => 'emails',
183190
'billingEmails' => 'billingEmails',
191+
'contacts' => 'contacts',
184192
'payment' => 'payment',
185193
'paymentMode' => 'paymentMode',
186194
'paymentCurrency' => 'paymentCurrency',
187195
'discountValid' => 'discountValid',
188196
'invoiceLanguage' => 'invoiceLanguage',
197+
'pin' => 'pin',
189198
'taxable' => 'taxable',
190199
'card' => 'card',
191200
'contracts' => 'contracts',
@@ -213,6 +222,7 @@ public static function swaggerFormats()
213222
'name' => 'setName',
214223
'type' => 'setType',
215224
'organization' => 'setOrganization',
225+
'organization2' => 'setOrganization2',
216226
'vatNumber' => 'setVatNumber',
217227
'gender' => 'setGender',
218228
'title' => 'setTitle',
@@ -224,11 +234,13 @@ public static function swaggerFormats()
224234
'fax' => 'setFax',
225235
'emails' => 'setEmails',
226236
'billingEmails' => 'setBillingEmails',
237+
'contacts' => 'setContacts',
227238
'payment' => 'setPayment',
228239
'paymentMode' => 'setPaymentMode',
229240
'paymentCurrency' => 'setPaymentCurrency',
230241
'discountValid' => 'setDiscountValid',
231242
'invoiceLanguage' => 'setInvoiceLanguage',
243+
'pin' => 'setPin',
232244
'taxable' => 'setTaxable',
233245
'card' => 'setCard',
234246
'contracts' => 'setContracts',
@@ -256,6 +268,7 @@ public static function swaggerFormats()
256268
'name' => 'getName',
257269
'type' => 'getType',
258270
'organization' => 'getOrganization',
271+
'organization2' => 'getOrganization2',
259272
'vatNumber' => 'getVatNumber',
260273
'gender' => 'getGender',
261274
'title' => 'getTitle',
@@ -267,11 +280,13 @@ public static function swaggerFormats()
267280
'fax' => 'getFax',
268281
'emails' => 'getEmails',
269282
'billingEmails' => 'getBillingEmails',
283+
'contacts' => 'getContacts',
270284
'payment' => 'getPayment',
271285
'paymentMode' => 'getPaymentMode',
272286
'paymentCurrency' => 'getPaymentCurrency',
273287
'discountValid' => 'getDiscountValid',
274288
'invoiceLanguage' => 'getInvoiceLanguage',
289+
'pin' => 'getPin',
275290
'taxable' => 'getTaxable',
276291
'card' => 'getCard',
277292
'contracts' => 'getContracts',
@@ -353,6 +368,7 @@ public function __construct(array $data = null)
353368
$this->container['name'] = isset($data['name']) ? $this->createData($data['name'], 'name') : null;
354369
$this->container['type'] = isset($data['type']) ? $this->createData($data['type'], 'type') : null;
355370
$this->container['organization'] = isset($data['organization']) ? $this->createData($data['organization'], 'organization') : null;
371+
$this->container['organization2'] = isset($data['organization2']) ? $this->createData($data['organization2'], 'organization2') : null;
356372
$this->container['vatNumber'] = isset($data['vatNumber']) ? $this->createData($data['vatNumber'], 'vatNumber') : null;
357373
$this->container['gender'] = isset($data['gender']) ? $this->createData($data['gender'], 'gender') : null;
358374
$this->container['title'] = isset($data['title']) ? $this->createData($data['title'], 'title') : null;
@@ -364,11 +380,13 @@ public function __construct(array $data = null)
364380
$this->container['fax'] = isset($data['fax']) ? $this->createData($data['fax'], 'fax') : null;
365381
$this->container['emails'] = isset($data['emails']) ? $this->createData($data['emails'], 'emails') : null;
366382
$this->container['billingEmails'] = isset($data['billingEmails']) ? $this->createData($data['billingEmails'], 'billingEmails') : null;
383+
$this->container['contacts'] = isset($data['contacts']) ? $this->createData($data['contacts'], 'contacts') : null;
367384
$this->container['payment'] = isset($data['payment']) ? $this->createData($data['payment'], 'payment') : null;
368385
$this->container['paymentMode'] = isset($data['paymentMode']) ? $this->createData($data['paymentMode'], 'paymentMode') : null;
369386
$this->container['paymentCurrency'] = isset($data['paymentCurrency']) ? $this->createData($data['paymentCurrency'], 'paymentCurrency') : null;
370387
$this->container['discountValid'] = isset($data['discountValid']) ? $this->createData($data['discountValid'], 'discountValid') : null;
371388
$this->container['invoiceLanguage'] = isset($data['invoiceLanguage']) ? $this->createData($data['invoiceLanguage'], 'invoiceLanguage') : null;
389+
$this->container['pin'] = isset($data['pin']) ? $this->createData($data['pin'], 'pin') : null;
372390
$this->container['taxable'] = isset($data['taxable']) ? $this->createData($data['taxable'], 'taxable') : null;
373391
$this->container['card'] = isset($data['card']) ? $this->createData($data['card'], 'card') : null;
374392
$this->container['contracts'] = isset($data['contracts']) ? $this->createData($data['contracts'], 'contracts') : null;
@@ -686,6 +704,30 @@ public function setOrganization($organization)
686704
return $this;
687705
}
688706

707+
/**
708+
* Gets organization2
709+
*
710+
* @return string
711+
*/
712+
public function getOrganization2()
713+
{
714+
return $this->container['organization2'];
715+
}
716+
717+
/**
718+
* Sets organization2
719+
*
720+
* @param string $organization2 The second line for the organization name.
721+
*
722+
* @return $this
723+
*/
724+
public function setOrganization2($organization2)
725+
{
726+
$this->container['organization2'] = $organization2;
727+
728+
return $this;
729+
}
730+
689731
/**
690732
* Gets vatNumber
691733
*
@@ -950,6 +992,30 @@ public function setBillingEmails($billingEmails)
950992
return $this;
951993
}
952994

995+
/**
996+
* Gets contacts
997+
*
998+
* @return \Domainrobot\Model\Contact[]
999+
*/
1000+
public function getContacts()
1001+
{
1002+
return $this->container['contacts'];
1003+
}
1004+
1005+
/**
1006+
* Sets contacts
1007+
*
1008+
* @param \Domainrobot\Model\Contact[] $contacts The contacts.
1009+
*
1010+
* @return $this
1011+
*/
1012+
public function setContacts($contacts)
1013+
{
1014+
$this->container['contacts'] = $contacts;
1015+
1016+
return $this;
1017+
}
1018+
9531019
/**
9541020
* Gets payment
9551021
*
@@ -1070,6 +1136,30 @@ public function setInvoiceLanguage($invoiceLanguage)
10701136
return $this;
10711137
}
10721138

1139+
/**
1140+
* Gets pin
1141+
*
1142+
* @return string
1143+
*/
1144+
public function getPin()
1145+
{
1146+
return $this->container['pin'];
1147+
}
1148+
1149+
/**
1150+
* Sets pin
1151+
*
1152+
* @param string $pin The pin number.
1153+
*
1154+
* @return $this
1155+
*/
1156+
public function setPin($pin)
1157+
{
1158+
$this->container['pin'] = $pin;
1159+
1160+
return $this;
1161+
}
1162+
10731163
/**
10741164
* Gets taxable
10751165
*

src/Model/BillingStatus.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ class BillingStatus
4949
const IGNORE = 'IGNORE';
5050
const CUSTOMER_CHANGED = 'CUSTOMER_CHANGED';
5151
const USER_CHANGED = 'USER_CHANGED';
52+
const UPGRADE = 'UPGRADE';
5253
const ACTIVE = 'ACTIVE';
5354
const CANCELED = 'CANCELED';
5455
const CANCELED_EXPIRE = 'CANCELED_EXPIRE';
@@ -70,6 +71,7 @@ public static function getAllowableEnumValues()
7071
self::IGNORE,
7172
self::CUSTOMER_CHANGED,
7273
self::USER_CHANGED,
74+
self::UPGRADE,
7375
self::ACTIVE,
7476
self::CANCELED,
7577
self::CANCELED_EXPIRE,

src/Model/CnAuditDocumentType.php

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
<?php
2+
/**
3+
* CnAuditDocumentType
4+
*
5+
* PHP version 5
6+
*
7+
* @category Class
8+
* @package Domainrobot
9+
* @author Swagger Codegen team
10+
* @link https://github.com/swagger-api/swagger-codegen
11+
*/
12+
13+
/**
14+
* Domainrobot JSON API
15+
*
16+
* Domainrobot JSON API for managing: Domains, SSL Certificates, DNS and much more.
17+
*
18+
* OpenAPI spec version: v1
19+
*
20+
* Generated by: https://github.com/swagger-api/swagger-codegen.git
21+
* Swagger Codegen version: 2.4.16-SNAPSHOT
22+
*/
23+
24+
/**
25+
* NOTE: This class is auto generated by the swagger code generator program.
26+
* https://github.com/swagger-api/swagger-codegen
27+
* Do not edit the class manually.
28+
*/
29+
30+
namespace Domainrobot\Model;
31+
use \Domainrobot\ObjectSerializer;
32+
33+
/**
34+
* CnAuditDocumentType Class Doc Comment
35+
*
36+
* @category Class
37+
* @package Domainrobot
38+
* @author Swagger Codegen team
39+
* @link https://github.com/swagger-api/swagger-codegen
40+
*/
41+
class CnAuditDocumentType
42+
{
43+
/**
44+
* Possible values of this enum
45+
*/
46+
const ID_CARD = 'ID_CARD';
47+
const PASSPORT = 'PASSPORT';
48+
const CN_MAINLAND_TRAVEL_PERMIT_HK_MO = 'CN_MAINLAND_TRAVEL_PERMIT_HK_MO';
49+
const CN_MAINLAND_TRAVEL_PERMIT_TW = 'CN_MAINLAND_TRAVEL_PERMIT_TW';
50+
const PERMANENT_RESIDENCE_PERMIT_FOREIGNERS = 'PERMANENT_RESIDENCE_PERMIT_FOREIGNERS';
51+
const CN_RESIDENCE_PERMIT_HK_MO = 'CN_RESIDENCE_PERMIT_HK_MO';
52+
const CN_RESIDENCE_PERMIT_TW = 'CN_RESIDENCE_PERMIT_TW';
53+
const MILITARY_ID_CARD = 'MILITARY_ID_CARD';
54+
const OTHER_ID_CARD = 'OTHER_ID_CARD';
55+
const CN_ORG_ID = 'CN_ORG_ID';
56+
const CN_BUSINESS_ID = 'CN_BUSINESS_ID';
57+
const CN_SOCIAL_CREDIT_LICENCE = 'CN_SOCIAL_CREDIT_LICENCE';
58+
const MILITARY_UNIT_CODE = 'MILITARY_UNIT_CODE';
59+
const MILITARY_UNIT_EXTERNAL_PERMIT = 'MILITARY_UNIT_EXTERNAL_PERMIT';
60+
const INSTITUION_LEGAL_PERSON = 'INSTITUION_LEGAL_PERSON';
61+
const CN_FOREIGN_ENTERPRISE_REGISTRATION = 'CN_FOREIGN_ENTERPRISE_REGISTRATION';
62+
const SOCIAL_ORG_LEGAL_PERSON = 'SOCIAL_ORG_LEGAL_PERSON';
63+
const RELIGIOS_ACTIVITY = 'RELIGIOS_ACTIVITY';
64+
const PRIVATE_NON_ENTERPRISE_REGISTRATION = 'PRIVATE_NON_ENTERPRISE_REGISTRATION';
65+
const FOUNDATION_LEGAL_PERSON = 'FOUNDATION_LEGAL_PERSON';
66+
const LAW_FIRM_LICENCE = 'LAW_FIRM_LICENCE';
67+
const CN_FOREIGN_CULTURAL_CENTER = 'CN_FOREIGN_CULTURAL_CENTER';
68+
const CN_FOREIGN_TOURISM_DEPARTMENT_REGISTRATION = 'CN_FOREIGN_TOURISM_DEPARTMENT_REGISTRATION';
69+
const FORENSIC_EXPERTISE_LICENCE = 'FORENSIC_EXPERTISE_LICENCE';
70+
const SOCIAL_AGENCY_CERTIFICATE = 'SOCIAL_AGENCY_CERTIFICATE';
71+
const PRIVATE_SCHOOL_PERMIT = 'PRIVATE_SCHOOL_PERMIT';
72+
const MEDICAL_INSTITUION_LICENCE = 'MEDICAL_INSTITUION_LICENCE';
73+
const NOTARY_ORG_LICENCE = 'NOTARY_ORG_LICENCE';
74+
const CN_FOREIGN_EMBASSY_CHILDREN_PERMIT_BEIJING = 'CN_FOREIGN_EMBASSY_CHILDREN_PERMIT_BEIJING';
75+
const OTHER_ORG_DOC = 'OTHER_ORG_DOC';
76+
const ORG_CERTIFICATE = 'ORG_CERTIFICATE';
77+
78+
/**
79+
* Gets allowable values of the enum
80+
* @return string[]
81+
*/
82+
public static function getAllowableEnumValues()
83+
{
84+
return [
85+
self::ID_CARD,
86+
self::PASSPORT,
87+
self::CN_MAINLAND_TRAVEL_PERMIT_HK_MO,
88+
self::CN_MAINLAND_TRAVEL_PERMIT_TW,
89+
self::PERMANENT_RESIDENCE_PERMIT_FOREIGNERS,
90+
self::CN_RESIDENCE_PERMIT_HK_MO,
91+
self::CN_RESIDENCE_PERMIT_TW,
92+
self::MILITARY_ID_CARD,
93+
self::OTHER_ID_CARD,
94+
self::CN_ORG_ID,
95+
self::CN_BUSINESS_ID,
96+
self::CN_SOCIAL_CREDIT_LICENCE,
97+
self::MILITARY_UNIT_CODE,
98+
self::MILITARY_UNIT_EXTERNAL_PERMIT,
99+
self::INSTITUION_LEGAL_PERSON,
100+
self::CN_FOREIGN_ENTERPRISE_REGISTRATION,
101+
self::SOCIAL_ORG_LEGAL_PERSON,
102+
self::RELIGIOS_ACTIVITY,
103+
self::PRIVATE_NON_ENTERPRISE_REGISTRATION,
104+
self::FOUNDATION_LEGAL_PERSON,
105+
self::LAW_FIRM_LICENCE,
106+
self::CN_FOREIGN_CULTURAL_CENTER,
107+
self::CN_FOREIGN_TOURISM_DEPARTMENT_REGISTRATION,
108+
self::FORENSIC_EXPERTISE_LICENCE,
109+
self::SOCIAL_AGENCY_CERTIFICATE,
110+
self::PRIVATE_SCHOOL_PERMIT,
111+
self::MEDICAL_INSTITUION_LICENCE,
112+
self::NOTARY_ORG_LICENCE,
113+
self::CN_FOREIGN_EMBASSY_CHILDREN_PERMIT_BEIJING,
114+
self::OTHER_ORG_DOC,
115+
self::ORG_CERTIFICATE,
116+
];
117+
}
118+
}
119+
120+

0 commit comments

Comments
 (0)