Skip to content

Commit 1e9354f

Browse files
author
Sunny Raj Rathod
committed
- Updated sdk for Q1 changes.
1 parent 3176d1f commit 1e9354f

15 files changed

Lines changed: 414 additions & 2 deletions

classmap.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@
281281
'net\authorize\api\contract\v1\CustomerAddressExType' => $libDir . 'net/authorize/api/contract/v1/CustomerAddressExType.php',
282282
'net\authorize\api\contract\v1\CustomerAddressType' => $libDir . 'net/authorize/api/contract/v1/CustomerAddressType.php',
283283
'net\authorize\api\contract\v1\CustomerDataType' => $libDir . 'net/authorize/api/contract/v1/CustomerDataType.php',
284+
'net\authorize\api\contract\v1\CustomerProfileIdType' => $libDir . 'net/authorize/api/contract/v1/CustomerProfileIdType.php',
284285
'net\authorize\api\contract\v1\CustomerPaymentProfileBaseType' => $libDir . 'net/authorize/api/contract/v1/CustomerPaymentProfileBaseType.php',
285286
'net\authorize\api\contract\v1\CustomerPaymentProfileExType' => $libDir . 'net/authorize/api/contract/v1/CustomerPaymentProfileExType.php',
286287
'net\authorize\api\contract\v1\CustomerPaymentProfileListItemType' => $libDir . 'net/authorize/api/contract/v1/CustomerPaymentProfileListItemType.php',
@@ -415,6 +416,7 @@
415416
'net\authorize\api\contract\v1\TransactionResponseType\MessagesAType\MessageAType' => $libDir . 'net/authorize/api/contract/v1/TransactionResponseType/MessagesAType/MessageAType.php',
416417
'net\authorize\api\contract\v1\TransactionResponseType\SplitTenderPaymentsAType\SplitTenderPaymentAType' => $libDir . 'net/authorize/api/contract/v1/TransactionResponseType/SplitTenderPaymentsAType/SplitTenderPaymentAType.php',
417418

419+
418420
//Controllers
419421
'net\authorize\api\controller\ARBCancelSubscriptionController' => $libDir . 'net/authorize/api/controller/ARBCancelSubscriptionController.php',
420422
'net\authorize\api\controller\ARBCreateSubscriptionController' => $libDir . 'net/authorize/api/controller/ARBCreateSubscriptionController.php',
@@ -455,4 +457,4 @@
455457
'net\authorize\api\controller\UpdateSplitTenderGroupController' => $libDir . 'net/authorize/api/controller/UpdateSplitTenderGroupController.php',
456458
'net\authorize\api\controller\ValidateCustomerPaymentProfileController' => $libDir . 'net/authorize/api/controller/ValidateCustomerPaymentProfileController.php',
457459

458-
);
460+
);

lib/net/authorize/api/contract/v1/ARBCreateSubscriptionResponse.php

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ class ARBCreateSubscriptionResponse extends ANetApiResponseType
1313
*/
1414
private $subscriptionId = null;
1515

16+
/**
17+
* @property \net\authorize\api\contract\v1\CustomerProfileIdType $profile
18+
*/
19+
private $profile = null;
20+
1621
/**
1722
* Gets as subscriptionId
1823
*
@@ -35,6 +40,28 @@ public function setSubscriptionId($subscriptionId)
3540
return $this;
3641
}
3742

43+
/**
44+
* Gets as profile
45+
*
46+
* @return \net\authorize\api\contract\v1\CustomerProfileIdType
47+
*/
48+
public function getProfile()
49+
{
50+
return $this->profile;
51+
}
52+
53+
/**
54+
* Sets a new profile
55+
*
56+
* @param \net\authorize\api\contract\v1\CustomerProfileIdType $profile
57+
* @return self
58+
*/
59+
public function setProfile(\net\authorize\api\contract\v1\CustomerProfileIdType $profile)
60+
{
61+
$this->profile = $profile;
62+
return $this;
63+
}
64+
3865

3966
}
4067

lib/net/authorize/api/contract/v1/ARBSubscriptionType.php

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ class ARBSubscriptionType
5656
*/
5757
private $shipTo = null;
5858

59+
/**
60+
* @property \net\authorize\api\contract\v1\CustomerProfileIdType $profile
61+
*/
62+
private $profile = null;
63+
5964
/**
6065
* Gets as name
6166
*
@@ -254,6 +259,28 @@ public function setShipTo(\net\authorize\api\contract\v1\NameAndAddressType $shi
254259
return $this;
255260
}
256261

262+
/**
263+
* Gets as profile
264+
*
265+
* @return \net\authorize\api\contract\v1\CustomerProfileIdType
266+
*/
267+
public function getProfile()
268+
{
269+
return $this->profile;
270+
}
271+
272+
/**
273+
* Sets a new profile
274+
*
275+
* @param \net\authorize\api\contract\v1\CustomerProfileIdType $profile
276+
* @return self
277+
*/
278+
public function setProfile(\net\authorize\api\contract\v1\CustomerProfileIdType $profile)
279+
{
280+
$this->profile = $profile;
281+
return $this;
282+
}
283+
257284

258285
}
259286

lib/net/authorize/api/contract/v1/ARBUpdateSubscriptionResponse.php

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,33 @@
88
class ARBUpdateSubscriptionResponse extends ANetApiResponseType
99
{
1010

11+
/**
12+
* @property \net\authorize\api\contract\v1\CustomerProfileIdType $profile
13+
*/
14+
private $profile = null;
15+
16+
/**
17+
* Gets as profile
18+
*
19+
* @return \net\authorize\api\contract\v1\CustomerProfileIdType
20+
*/
21+
public function getProfile()
22+
{
23+
return $this->profile;
24+
}
25+
26+
/**
27+
* Sets a new profile
28+
*
29+
* @param \net\authorize\api\contract\v1\CustomerProfileIdType $profile
30+
* @return self
31+
*/
32+
public function setProfile(\net\authorize\api\contract\v1\CustomerProfileIdType $profile)
33+
{
34+
$this->profile = $profile;
35+
return $this;
36+
}
37+
1138

1239
}
1340

lib/net/authorize/api/contract/v1/CreateCustomerProfileFromTransactionRequest.php

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ class CreateCustomerProfileFromTransactionRequest extends ANetApiRequestType
1313
*/
1414
private $transId = null;
1515

16+
/**
17+
* @property \net\authorize\api\contract\v1\CustomerProfileBaseType $customer
18+
*/
19+
private $customer = null;
20+
21+
/**
22+
* @property string $customerProfileId
23+
*/
24+
private $customerProfileId = null;
25+
1626
/**
1727
* Gets as transId
1828
*
@@ -35,6 +45,50 @@ public function setTransId($transId)
3545
return $this;
3646
}
3747

48+
/**
49+
* Gets as customer
50+
*
51+
* @return \net\authorize\api\contract\v1\CustomerProfileBaseType
52+
*/
53+
public function getCustomer()
54+
{
55+
return $this->customer;
56+
}
57+
58+
/**
59+
* Sets a new customer
60+
*
61+
* @param \net\authorize\api\contract\v1\CustomerProfileBaseType $customer
62+
* @return self
63+
*/
64+
public function setCustomer(\net\authorize\api\contract\v1\CustomerProfileBaseType $customer)
65+
{
66+
$this->customer = $customer;
67+
return $this;
68+
}
69+
70+
/**
71+
* Gets as customerProfileId
72+
*
73+
* @return string
74+
*/
75+
public function getCustomerProfileId()
76+
{
77+
return $this->customerProfileId;
78+
}
79+
80+
/**
81+
* Sets a new customerProfileId
82+
*
83+
* @param string $customerProfileId
84+
* @return self
85+
*/
86+
public function setCustomerProfileId($customerProfileId)
87+
{
88+
$this->customerProfileId = $customerProfileId;
89+
return $this;
90+
}
91+
3892

3993
}
4094

lib/net/authorize/api/contract/v1/CustomerPaymentProfileMaskedType.php

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ class CustomerPaymentProfileMaskedType extends CustomerPaymentProfileBaseType
3737
*/
3838
private $taxId = null;
3939

40+
/**
41+
* @property string[] $subscriptionIds
42+
*/
43+
private $subscriptionIds = null;
44+
4045
/**
4146
* Gets as customerProfileId
4247
*
@@ -147,6 +152,62 @@ public function setTaxId($taxId)
147152
return $this;
148153
}
149154

155+
/**
156+
* Adds as subscriptionId
157+
*
158+
* @return self
159+
* @param string $subscriptionId
160+
*/
161+
public function addToSubscriptionIds($subscriptionId)
162+
{
163+
$this->subscriptionIds[] = $subscriptionId;
164+
return $this;
165+
}
166+
167+
/**
168+
* isset subscriptionIds
169+
*
170+
* @param scalar $index
171+
* @return boolean
172+
*/
173+
public function issetSubscriptionIds($index)
174+
{
175+
return isset($this->subscriptionIds[$index]);
176+
}
177+
178+
/**
179+
* unset subscriptionIds
180+
*
181+
* @param scalar $index
182+
* @return void
183+
*/
184+
public function unsetSubscriptionIds($index)
185+
{
186+
unset($this->subscriptionIds[$index]);
187+
}
188+
189+
/**
190+
* Gets as subscriptionIds
191+
*
192+
* @return string[]
193+
*/
194+
public function getSubscriptionIds()
195+
{
196+
return $this->subscriptionIds;
197+
}
198+
199+
/**
200+
* Sets a new subscriptionIds
201+
*
202+
* @param string $subscriptionIds
203+
* @return self
204+
*/
205+
public function setSubscriptionIds(array $subscriptionIds)
206+
{
207+
$this->subscriptionIds = $subscriptionIds;
208+
return $this;
209+
}
210+
150211

151212
}
152213

lib/net/authorize/api/contract/v1/GetCustomerProfileResponse.php

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ class GetCustomerProfileResponse extends ANetApiResponseType
1313
*/
1414
private $profile = null;
1515

16+
/**
17+
* @property string[] $subscriptionIds
18+
*/
19+
private $subscriptionIds = null;
20+
1621
/**
1722
* Gets as profile
1823
*
@@ -35,6 +40,62 @@ public function setProfile(\net\authorize\api\contract\v1\CustomerProfileMaskedT
3540
return $this;
3641
}
3742

43+
/**
44+
* Adds as subscriptionId
45+
*
46+
* @return self
47+
* @param string $subscriptionId
48+
*/
49+
public function addToSubscriptionIds($subscriptionId)
50+
{
51+
$this->subscriptionIds[] = $subscriptionId;
52+
return $this;
53+
}
54+
55+
/**
56+
* isset subscriptionIds
57+
*
58+
* @param scalar $index
59+
* @return boolean
60+
*/
61+
public function issetSubscriptionIds($index)
62+
{
63+
return isset($this->subscriptionIds[$index]);
64+
}
65+
66+
/**
67+
* unset subscriptionIds
68+
*
69+
* @param scalar $index
70+
* @return void
71+
*/
72+
public function unsetSubscriptionIds($index)
73+
{
74+
unset($this->subscriptionIds[$index]);
75+
}
76+
77+
/**
78+
* Gets as subscriptionIds
79+
*
80+
* @return string[]
81+
*/
82+
public function getSubscriptionIds()
83+
{
84+
return $this->subscriptionIds;
85+
}
86+
87+
/**
88+
* Sets a new subscriptionIds
89+
*
90+
* @param string $subscriptionIds
91+
* @return self
92+
*/
93+
public function setSubscriptionIds(array $subscriptionIds)
94+
{
95+
$this->subscriptionIds = $subscriptionIds;
96+
return $this;
97+
}
98+
3899

39100
}
40101

0 commit comments

Comments
 (0)