Skip to content

Commit 33c5992

Browse files
committed
Included WebCheckOutDataType and hostedProfileSettings for parity with other SDKs
1 parent 1a230de commit 33c5992

12 files changed

Lines changed: 61 additions & 218 deletions

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing ANetApiRequestType
77
*
8-
*
8+
*
99
* XSD Type: ANetApiRequest
1010
*/
1111
class ANetApiRequestType

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CustomerPaymentProfileExType
77
*
8-
*
8+
*
99
* XSD Type: customerPaymentProfileExType
1010
*/
1111
class CustomerPaymentProfileExType extends CustomerPaymentProfileType

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CustomerProfileIdType
77
*
8-
*
8+
*
99
* XSD Type: customerProfileIdType
1010
*/
1111
class CustomerProfileIdType

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing EncryptedTrackDataType
77
*
8-
*
8+
*
99
* XSD Type: encryptedTrackDataType
1010
*/
1111
class EncryptedTrackDataType

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

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ class GetHostedProfilePageRequest extends ANetApiRequestType
1818
* hostedProfileReturnUrlText, hostedProfilePageBorderVisible,
1919
* hostedProfileIFrameCommunicatorUrl, hostedProfileHeadingBgColor,
2020
* hostedProfileBillingAddressRequired, hostedProfileCardCodeRequired,
21-
* hostedProfileBillingAddressOptions, hostedProfileManageOptions.
21+
* hostedProfileBillingAddressOptions, hostedProfileManageOptions,
22+
* hostedProfilePaymentOptions, hostedProfileSaveButtonText.
2223
*
2324
* @property \net\authorize\api\contract\v1\SettingType[] $hostedProfileSettings
2425
*/
@@ -53,7 +54,8 @@ public function setCustomerProfileId($customerProfileId)
5354
* hostedProfileReturnUrlText, hostedProfilePageBorderVisible,
5455
* hostedProfileIFrameCommunicatorUrl, hostedProfileHeadingBgColor,
5556
* hostedProfileBillingAddressRequired, hostedProfileCardCodeRequired,
56-
* hostedProfileBillingAddressOptions, hostedProfileManageOptions.
57+
* hostedProfileBillingAddressOptions, hostedProfileManageOptions,
58+
* hostedProfilePaymentOptions, hostedProfileSaveButtonText.
5759
*
5860
* @return self
5961
* @param \net\authorize\api\contract\v1\SettingType $setting
@@ -71,7 +73,8 @@ public function addToHostedProfileSettings(\net\authorize\api\contract\v1\Settin
7173
* hostedProfileReturnUrlText, hostedProfilePageBorderVisible,
7274
* hostedProfileIFrameCommunicatorUrl, hostedProfileHeadingBgColor,
7375
* hostedProfileBillingAddressRequired, hostedProfileCardCodeRequired,
74-
* hostedProfileBillingAddressOptions, hostedProfileManageOptions.
76+
* hostedProfileBillingAddressOptions, hostedProfileManageOptions,
77+
* hostedProfilePaymentOptions, hostedProfileSaveButtonText.
7578
*
7679
* @param scalar $index
7780
* @return boolean
@@ -88,7 +91,8 @@ public function issetHostedProfileSettings($index)
8891
* hostedProfileReturnUrlText, hostedProfilePageBorderVisible,
8992
* hostedProfileIFrameCommunicatorUrl, hostedProfileHeadingBgColor,
9093
* hostedProfileBillingAddressRequired, hostedProfileCardCodeRequired,
91-
* hostedProfileBillingAddressOptions, hostedProfileManageOptions.
94+
* hostedProfileBillingAddressOptions, hostedProfileManageOptions,
95+
* hostedProfilePaymentOptions, hostedProfileSaveButtonText.
9296
*
9397
* @param scalar $index
9498
* @return void
@@ -105,7 +109,8 @@ public function unsetHostedProfileSettings($index)
105109
* hostedProfileReturnUrlText, hostedProfilePageBorderVisible,
106110
* hostedProfileIFrameCommunicatorUrl, hostedProfileHeadingBgColor,
107111
* hostedProfileBillingAddressRequired, hostedProfileCardCodeRequired,
108-
* hostedProfileBillingAddressOptions, hostedProfileManageOptions.
112+
* hostedProfileBillingAddressOptions, hostedProfileManageOptions,
113+
* hostedProfilePaymentOptions, hostedProfileSaveButtonText.
109114
*
110115
* @return \net\authorize\api\contract\v1\SettingType[]
111116
*/
@@ -121,7 +126,8 @@ public function getHostedProfileSettings()
121126
* hostedProfileReturnUrlText, hostedProfilePageBorderVisible,
122127
* hostedProfileIFrameCommunicatorUrl, hostedProfileHeadingBgColor,
123128
* hostedProfileBillingAddressRequired, hostedProfileCardCodeRequired,
124-
* hostedProfileBillingAddressOptions, hostedProfileManageOptions.
129+
* hostedProfileBillingAddressOptions, hostedProfileManageOptions,
130+
* hostedProfilePaymentOptions, hostedProfileSaveButtonText.
125131
*
126132
* @param \net\authorize\api\contract\v1\SettingType[] $hostedProfileSettings
127133
* @return self

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing PaymentProfileType
77
*
8-
*
8+
*
99
* XSD Type: paymentProfile
1010
*/
1111
class PaymentProfileType

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing ProfileTransAuthOnlyType
77
*
8-
*
8+
*
99
* XSD Type: profileTransAuthOnlyType
1010
*/
1111
class ProfileTransAuthOnlyType extends ProfileTransOrderType

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing SubscriptionCustomerProfileType
77
*
8-
*
8+
*
99
* XSD Type: subscriptionCustomerProfileType
1010
*/
1111
class SubscriptionCustomerProfileType extends CustomerProfileExType

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

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,15 @@ class WebCheckOutDataType
2222
private $id = null;
2323

2424
/**
25-
* @property \net\authorize\api\contract\v1\WebCheckOutDataType\TokenAType $token
25+
* @property \net\authorize\api\contract\v1\WebCheckOutDataTypeTokenType $token
2626
*/
2727
private $token = null;
2828

29+
/**
30+
* @property \net\authorize\api\contract\v1\BankAccountType $bankToken
31+
*/
32+
private $bankToken = null;
33+
2934
/**
3035
* Gets as type
3136
*
@@ -73,7 +78,7 @@ public function setId($id)
7378
/**
7479
* Gets as token
7580
*
76-
* @return \net\authorize\api\contract\v1\WebCheckOutDataType\TokenAType
81+
* @return \net\authorize\api\contract\v1\WebCheckOutDataTypeTokenType
7782
*/
7883
public function getToken()
7984
{
@@ -83,15 +88,37 @@ public function getToken()
8388
/**
8489
* Sets a new token
8590
*
86-
* @param \net\authorize\api\contract\v1\WebCheckOutDataType\TokenAType $token
91+
* @param \net\authorize\api\contract\v1\WebCheckOutDataTypeTokenType $token
8792
* @return self
8893
*/
89-
public function setToken(\net\authorize\api\contract\v1\WebCheckOutDataType\TokenAType $token)
94+
public function setToken(\net\authorize\api\contract\v1\WebCheckOutDataTypeTokenType $token)
9095
{
9196
$this->token = $token;
9297
return $this;
9398
}
9499

100+
/**
101+
* Gets as bankToken
102+
*
103+
* @return \net\authorize\api\contract\v1\BankAccountType
104+
*/
105+
public function getBankToken()
106+
{
107+
return $this->bankToken;
108+
}
109+
110+
/**
111+
* Sets a new bankToken
112+
*
113+
* @param \net\authorize\api\contract\v1\BankAccountType $bankToken
114+
* @return self
115+
*/
116+
public function setBankToken(\net\authorize\api\contract\v1\BankAccountType $bankToken)
117+
{
118+
$this->bankToken = $bankToken;
119+
return $this;
120+
}
121+
95122

96123
}
97124

lib/net/authorize/api/contract/v1/WebCheckOutDataType/TokenAType.php

Lines changed: 0 additions & 148 deletions
This file was deleted.

0 commit comments

Comments
 (0)