Skip to content

Commit bdc8675

Browse files
author
Sunny Raj Rathod
authored
Merge pull request #219 from devkale/master
SDK update for API's
2 parents 5486413 + 72063fc commit bdc8675

13 files changed

Lines changed: 539 additions & 95 deletions

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

Lines changed: 56 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ class GetCustomerProfileRequest extends ANetApiRequestType
1313
*/
1414
private $customerProfileId = null;
1515

16+
/**
17+
* @property string $merchantCustomerId
18+
*/
19+
private $merchantCustomerId = null;
20+
21+
/**
22+
* @property string $email
23+
*/
24+
private $email = null;
25+
1626
/**
1727
* @property boolean $unmaskExpirationDate
1828
*/
@@ -36,7 +46,51 @@ public function getCustomerProfileId()
3646
*/
3747
public function setCustomerProfileId($customerProfileId)
3848
{
39-
$this->customerProfileId = $customerProfileId;
49+
$this->customerProfileId = $customerProfileId;
50+
return $this;
51+
}
52+
53+
/**
54+
* Gets as merchantCustomerId
55+
*
56+
* @return string
57+
*/
58+
public function getMerchantCustomerId()
59+
{
60+
return $this->merchantCustomerId;
61+
}
62+
63+
/**
64+
* Sets a new merchantCustomerId
65+
*
66+
* @param string $merchantCustomerId
67+
* @return self
68+
*/
69+
public function setMerchantCustomerId($merchantCustomerId)
70+
{
71+
$this->merchantCustomerId = $merchantCustomerId;
72+
return $this;
73+
}
74+
75+
/**
76+
* Gets as email
77+
*
78+
* @return string
79+
*/
80+
public function getEmail()
81+
{
82+
return $this->email;
83+
}
84+
85+
/**
86+
* Sets a new email
87+
*
88+
* @param string $email
89+
* @return self
90+
*/
91+
public function setEmail($email)
92+
{
93+
$this->email = $email;
4094
return $this;
4195
}
4296

@@ -58,7 +112,7 @@ public function getUnmaskExpirationDate()
58112
*/
59113
public function setUnmaskExpirationDate($unmaskExpirationDate)
60114
{
61-
$this->unmaskExpirationDate = $unmaskExpirationDate;
115+
$this->unmaskExpirationDate = $unmaskExpirationDate;
62116
return $this;
63117
}
64118

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

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ class GetTransactionDetailsResponse extends ANetApiResponseType
1313
*/
1414
private $transaction = null;
1515

16+
/**
17+
* @property string $clientId
18+
*/
19+
private $clientId = null;
20+
21+
/**
22+
* @property string $transrefId
23+
*/
24+
private $transrefId = null;
25+
1626
/**
1727
* Gets as transaction
1828
*
@@ -35,6 +45,49 @@ public function setTransaction(\net\authorize\api\contract\v1\TransactionDetails
3545
return $this;
3646
}
3747

48+
/**
49+
* Gets as clientId
50+
*
51+
* @return string
52+
*/
53+
public function getClientId()
54+
{
55+
return $this->clientId;
56+
}
3857

39-
}
58+
/**
59+
* Sets a new clientId
60+
*
61+
* @param string $clientId
62+
* @return self
63+
*/
64+
public function setClientId($clientId)
65+
{
66+
$this->clientId = $clientId;
67+
return $this;
68+
}
4069

70+
/**
71+
* Gets as transrefId
72+
*
73+
* @return string
74+
*/
75+
public function getTransrefId()
76+
{
77+
return $this->transrefId;
78+
}
79+
80+
/**
81+
* Sets a new transrefId
82+
*
83+
* @param string $transrefId
84+
* @return self
85+
*/
86+
public function setTransrefId($transrefId)
87+
{
88+
$this->transrefId = $transrefId;
89+
return $this;
90+
}
91+
92+
93+
}
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
<?php
2+
3+
namespace net\authorize\api\contract\v1;
4+
5+
/**
6+
* Class representing GetTransactionListForCustomerRequest
7+
*/
8+
class GetTransactionListForCustomerRequest extends ANetApiRequestType
9+
{
10+
11+
/**
12+
* @property string $customerProfileId
13+
*/
14+
private $customerProfileId = null;
15+
16+
/**
17+
* @property string $customerPaymentProfileId
18+
*/
19+
private $customerPaymentProfileId = null;
20+
21+
/**
22+
* @property \net\authorize\api\contract\v1\TransactionListSortingType $sorting
23+
*/
24+
private $sorting = null;
25+
26+
/**
27+
* @property \net\authorize\api\contract\v1\PagingType $paging
28+
*/
29+
private $paging = null;
30+
31+
/**
32+
* Gets as customerProfileId
33+
*
34+
* @return string
35+
*/
36+
public function getCustomerProfileId()
37+
{
38+
return $this->customerProfileId;
39+
}
40+
41+
/**
42+
* Sets a new customerProfileId
43+
*
44+
* @param string $customerProfileId
45+
* @return self
46+
*/
47+
public function setCustomerProfileId($customerProfileId)
48+
{
49+
$this->customerProfileId = $customerProfileId;
50+
return $this;
51+
}
52+
53+
/**
54+
* Gets as customerPaymentProfileId
55+
*
56+
* @return string
57+
*/
58+
public function getCustomerPaymentProfileId()
59+
{
60+
return $this->customerPaymentProfileId;
61+
}
62+
63+
/**
64+
* Sets a new customerPaymentProfileId
65+
*
66+
* @param string $customerPaymentProfileId
67+
* @return self
68+
*/
69+
public function setCustomerPaymentProfileId($customerPaymentProfileId)
70+
{
71+
$this->customerPaymentProfileId = $customerPaymentProfileId;
72+
return $this;
73+
}
74+
75+
/**
76+
* Gets as sorting
77+
*
78+
* @return \net\authorize\api\contract\v1\TransactionListSortingType
79+
*/
80+
public function getSorting()
81+
{
82+
return $this->sorting;
83+
}
84+
85+
/**
86+
* Sets a new sorting
87+
*
88+
* @param \net\authorize\api\contract\v1\TransactionListSortingType $sorting
89+
* @return self
90+
*/
91+
public function setSorting(\net\authorize\api\contract\v1\TransactionListSortingType $sorting)
92+
{
93+
$this->sorting = $sorting;
94+
return $this;
95+
}
96+
97+
/**
98+
* Gets as paging
99+
*
100+
* @return \net\authorize\api\contract\v1\PagingType
101+
*/
102+
public function getPaging()
103+
{
104+
return $this->paging;
105+
}
106+
107+
/**
108+
* Sets a new paging
109+
*
110+
* @param \net\authorize\api\contract\v1\PagingType $paging
111+
* @return self
112+
*/
113+
public function setPaging(\net\authorize\api\contract\v1\PagingType $paging)
114+
{
115+
$this->paging = $paging;
116+
return $this;
117+
}
118+
119+
120+
}
121+

0 commit comments

Comments
 (0)