Skip to content

Commit e5d2c98

Browse files
authored
Merge pull request #313 from ashtru/master
**Api Updates June 2018** - Network Token - isPaymentToken (true/false) field added to response of Customer Profile APIs - Can create customer profiles and subscriptions with tokenized payment methods. - Guest Profiles - profileType (regular/guest) functionality included
2 parents 482d51e + c5db0bc commit e5d2c98

File tree

102 files changed

+382
-298
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+382
-298
lines changed

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

+1-1
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/ANetApiResponseType.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing ANetApiResponseType
77
*
8-
*
8+
*
99
* XSD Type: ANetApiResponse
1010
*/
1111
class ANetApiResponseType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing ARBGetSubscriptionListSortingType
77
*
8-
*
8+
*
99
* XSD Type: ARBGetSubscriptionListSorting
1010
*/
1111
class ARBGetSubscriptionListSortingType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing ARBSubscriptionMaskedType
77
*
8-
*
8+
*
99
* XSD Type: ARBSubscriptionMaskedType
1010
*/
1111
class ARBSubscriptionMaskedType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing ARBSubscriptionType
77
*
8-
*
8+
*
99
* XSD Type: ARBSubscriptionType
1010
*/
1111
class ARBSubscriptionType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing ArbTransactionType
77
*
8-
*
8+
*
99
* XSD Type: arbTransaction
1010
*/
1111
class ArbTransactionType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing ArrayOfSettingType
77
*
8-
*
8+
*
99
* XSD Type: ArrayOfSetting
1010
*/
1111
class ArrayOfSettingType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing AuDeleteType
77
*
8-
*
8+
*
99
* XSD Type: auDeleteType
1010
*/
1111
class AuDeleteType extends AuDetailsType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing AuDetailsType
77
*
8-
*
8+
*
99
* XSD Type: auDetailsType
1010
*/
1111
class AuDetailsType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing AuResponseType
77
*
8-
*
8+
*
99
* XSD Type: auResponseType
1010
*/
1111
class AuResponseType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing AuUpdateType
77
*
8-
*
8+
*
99
* XSD Type: auUpdateType
1010
*/
1111
class AuUpdateType extends AuDetailsType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing BankAccountMaskedType
77
*
8-
*
8+
*
99
* XSD Type: bankAccountMaskedType
1010
*/
1111
class BankAccountMaskedType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing BankAccountType
77
*
8-
*
8+
*
99
* XSD Type: bankAccountType
1010
*/
1111
class BankAccountType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing BatchDetailsType
77
*
8-
*
8+
*
99
* XSD Type: batchDetailsType
1010
*/
1111
class BatchDetailsType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing BatchStatisticType
77
*
8-
*
8+
*
99
* XSD Type: batchStatisticType
1010
*/
1111
class BatchStatisticType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CardArtType
77
*
8-
*
8+
*
99
* XSD Type: cardArt
1010
*/
1111
class CardArtType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CcAuthenticationType
77
*
8-
*
8+
*
99
* XSD Type: ccAuthenticationType
1010
*/
1111
class CcAuthenticationType

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

+27
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ class CreateCustomerProfileFromTransactionRequest extends ANetApiRequestType
3333
*/
3434
private $defaultShippingAddress = null;
3535

36+
/**
37+
* @property string $profileType
38+
*/
39+
private $profileType = null;
40+
3641
/**
3742
* Gets as transId
3843
*
@@ -143,6 +148,28 @@ public function setDefaultShippingAddress($defaultShippingAddress)
143148
return $this;
144149
}
145150

151+
/**
152+
* Gets as profileType
153+
*
154+
* @return string
155+
*/
156+
public function getProfileType()
157+
{
158+
return $this->profileType;
159+
}
160+
161+
/**
162+
* Sets a new profileType
163+
*
164+
* @param string $profileType
165+
* @return self
166+
*/
167+
public function setProfileType($profileType)
168+
{
169+
$this->profileType = $profileType;
170+
return $this;
171+
}
172+
146173

147174
}
148175

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CreateProfileResponseType
77
*
8-
*
8+
*
99
* XSD Type: createProfileResponse
1010
*/
1111
class CreateProfileResponseType

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

+27
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ class CreditCardMaskedType
3636
*/
3737
private $issuerNumber = null;
3838

39+
/**
40+
* @property boolean $isPaymentToken
41+
*/
42+
private $isPaymentToken = null;
43+
3944
/**
4045
* Gets as cardNumber
4146
*
@@ -146,6 +151,28 @@ public function setIssuerNumber($issuerNumber)
146151
return $this;
147152
}
148153

154+
/**
155+
* Gets as isPaymentToken
156+
*
157+
* @return boolean
158+
*/
159+
public function getIsPaymentToken()
160+
{
161+
return $this->isPaymentToken;
162+
}
163+
164+
/**
165+
* Sets a new isPaymentToken
166+
*
167+
* @param boolean $isPaymentToken
168+
* @return self
169+
*/
170+
public function setIsPaymentToken($isPaymentToken)
171+
{
172+
$this->isPaymentToken = $isPaymentToken;
173+
return $this;
174+
}
175+
149176

150177
}
151178

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CreditCardSimpleType
77
*
8-
*
8+
*
99
* XSD Type: creditCardSimpleType
1010
*/
1111
class CreditCardSimpleType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CreditCardTrackType
77
*
8-
*
8+
*
99
* XSD Type: creditCardTrackType
1010
*/
1111
class CreditCardTrackType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CreditCardType
77
*
8-
*
8+
*
99
* XSD Type: creditCardType
1010
*/
1111
class CreditCardType extends CreditCardSimpleType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CustomerAddressExType
77
*
8-
*
8+
*
99
* XSD Type: customerAddressExType
1010
*/
1111
class CustomerAddressExType extends CustomerAddressType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CustomerAddressType
77
*
8-
*
8+
*
99
* XSD Type: customerAddressType
1010
*/
1111
class CustomerAddressType extends NameAndAddressType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CustomerDataType
77
*
8-
*
8+
*
99
* XSD Type: customerDataType
1010
*/
1111
class CustomerDataType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CustomerPaymentProfileBaseType
77
*
8-
*
8+
*
99
* XSD Type: customerPaymentProfileBaseType
1010
*/
1111
class CustomerPaymentProfileBaseType

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

+1-1
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/CustomerPaymentProfileListItemType.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CustomerPaymentProfileListItemType
77
*
8-
*
8+
*
99
* XSD Type: customerPaymentProfileListItemType
1010
*/
1111
class CustomerPaymentProfileListItemType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CustomerPaymentProfileMaskedType
77
*
8-
*
8+
*
99
* XSD Type: customerPaymentProfileMaskedType
1010
*/
1111
class CustomerPaymentProfileMaskedType extends CustomerPaymentProfileBaseType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CustomerPaymentProfileSortingType
77
*
8-
*
8+
*
99
* XSD Type: CustomerPaymentProfileSorting
1010
*/
1111
class CustomerPaymentProfileSortingType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CustomerPaymentProfileType
77
*
8-
*
8+
*
99
* XSD Type: customerPaymentProfileType
1010
*/
1111
class CustomerPaymentProfileType extends CustomerPaymentProfileBaseType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CustomerProfileBaseType
77
*
8-
*
8+
*
99
* XSD Type: customerProfileBaseType
1010
*/
1111
class CustomerProfileBaseType

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Class representing CustomerProfileExType
77
*
8-
*
8+
*
99
* XSD Type: customerProfileExType
1010
*/
1111
class CustomerProfileExType extends CustomerProfileBaseType

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

+1-1
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

0 commit comments

Comments
 (0)