Skip to content

Commit

Permalink
Included WebCheckOutDataType and hostedProfileSettings for parity wit…
Browse files Browse the repository at this point in the history
…h other SDKs
  • Loading branch information
khaaldrogo committed Jun 14, 2018
1 parent 1a230de commit 33c5992
Show file tree
Hide file tree
Showing 12 changed files with 61 additions and 218 deletions.
2 changes: 1 addition & 1 deletion lib/net/authorize/api/contract/v1/ANetApiRequestType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Class representing ANetApiRequestType
*
*
*
* XSD Type: ANetApiRequest
*/
class ANetApiRequestType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Class representing CustomerPaymentProfileExType
*
*
*
* XSD Type: customerPaymentProfileExType
*/
class CustomerPaymentProfileExType extends CustomerPaymentProfileType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Class representing CustomerProfileIdType
*
*
*
* XSD Type: customerProfileIdType
*/
class CustomerProfileIdType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Class representing EncryptedTrackDataType
*
*
*
* XSD Type: encryptedTrackDataType
*/
class EncryptedTrackDataType
Expand Down
18 changes: 12 additions & 6 deletions lib/net/authorize/api/contract/v1/GetHostedProfilePageRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class GetHostedProfilePageRequest extends ANetApiRequestType
* hostedProfileReturnUrlText, hostedProfilePageBorderVisible,
* hostedProfileIFrameCommunicatorUrl, hostedProfileHeadingBgColor,
* hostedProfileBillingAddressRequired, hostedProfileCardCodeRequired,
* hostedProfileBillingAddressOptions, hostedProfileManageOptions.
* hostedProfileBillingAddressOptions, hostedProfileManageOptions,
* hostedProfilePaymentOptions, hostedProfileSaveButtonText.
*
* @property \net\authorize\api\contract\v1\SettingType[] $hostedProfileSettings
*/
Expand Down Expand Up @@ -53,7 +54,8 @@ public function setCustomerProfileId($customerProfileId)
* hostedProfileReturnUrlText, hostedProfilePageBorderVisible,
* hostedProfileIFrameCommunicatorUrl, hostedProfileHeadingBgColor,
* hostedProfileBillingAddressRequired, hostedProfileCardCodeRequired,
* hostedProfileBillingAddressOptions, hostedProfileManageOptions.
* hostedProfileBillingAddressOptions, hostedProfileManageOptions,
* hostedProfilePaymentOptions, hostedProfileSaveButtonText.
*
* @return self
* @param \net\authorize\api\contract\v1\SettingType $setting
Expand All @@ -71,7 +73,8 @@ public function addToHostedProfileSettings(\net\authorize\api\contract\v1\Settin
* hostedProfileReturnUrlText, hostedProfilePageBorderVisible,
* hostedProfileIFrameCommunicatorUrl, hostedProfileHeadingBgColor,
* hostedProfileBillingAddressRequired, hostedProfileCardCodeRequired,
* hostedProfileBillingAddressOptions, hostedProfileManageOptions.
* hostedProfileBillingAddressOptions, hostedProfileManageOptions,
* hostedProfilePaymentOptions, hostedProfileSaveButtonText.
*
* @param scalar $index
* @return boolean
Expand All @@ -88,7 +91,8 @@ public function issetHostedProfileSettings($index)
* hostedProfileReturnUrlText, hostedProfilePageBorderVisible,
* hostedProfileIFrameCommunicatorUrl, hostedProfileHeadingBgColor,
* hostedProfileBillingAddressRequired, hostedProfileCardCodeRequired,
* hostedProfileBillingAddressOptions, hostedProfileManageOptions.
* hostedProfileBillingAddressOptions, hostedProfileManageOptions,
* hostedProfilePaymentOptions, hostedProfileSaveButtonText.
*
* @param scalar $index
* @return void
Expand All @@ -105,7 +109,8 @@ public function unsetHostedProfileSettings($index)
* hostedProfileReturnUrlText, hostedProfilePageBorderVisible,
* hostedProfileIFrameCommunicatorUrl, hostedProfileHeadingBgColor,
* hostedProfileBillingAddressRequired, hostedProfileCardCodeRequired,
* hostedProfileBillingAddressOptions, hostedProfileManageOptions.
* hostedProfileBillingAddressOptions, hostedProfileManageOptions,
* hostedProfilePaymentOptions, hostedProfileSaveButtonText.
*
* @return \net\authorize\api\contract\v1\SettingType[]
*/
Expand All @@ -121,7 +126,8 @@ public function getHostedProfileSettings()
* hostedProfileReturnUrlText, hostedProfilePageBorderVisible,
* hostedProfileIFrameCommunicatorUrl, hostedProfileHeadingBgColor,
* hostedProfileBillingAddressRequired, hostedProfileCardCodeRequired,
* hostedProfileBillingAddressOptions, hostedProfileManageOptions.
* hostedProfileBillingAddressOptions, hostedProfileManageOptions,
* hostedProfilePaymentOptions, hostedProfileSaveButtonText.
*
* @param \net\authorize\api\contract\v1\SettingType[] $hostedProfileSettings
* @return self
Expand Down
2 changes: 1 addition & 1 deletion lib/net/authorize/api/contract/v1/PaymentProfileType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Class representing PaymentProfileType
*
*
*
* XSD Type: paymentProfile
*/
class PaymentProfileType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Class representing ProfileTransAuthOnlyType
*
*
*
* XSD Type: profileTransAuthOnlyType
*/
class ProfileTransAuthOnlyType extends ProfileTransOrderType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Class representing SubscriptionCustomerProfileType
*
*
*
* XSD Type: subscriptionCustomerProfileType
*/
class SubscriptionCustomerProfileType extends CustomerProfileExType
Expand Down
35 changes: 31 additions & 4 deletions lib/net/authorize/api/contract/v1/WebCheckOutDataType.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,15 @@ class WebCheckOutDataType
private $id = null;

/**
* @property \net\authorize\api\contract\v1\WebCheckOutDataType\TokenAType $token
* @property \net\authorize\api\contract\v1\WebCheckOutDataTypeTokenType $token
*/
private $token = null;

/**
* @property \net\authorize\api\contract\v1\BankAccountType $bankToken
*/
private $bankToken = null;

/**
* Gets as type
*
Expand Down Expand Up @@ -73,7 +78,7 @@ public function setId($id)
/**
* Gets as token
*
* @return \net\authorize\api\contract\v1\WebCheckOutDataType\TokenAType
* @return \net\authorize\api\contract\v1\WebCheckOutDataTypeTokenType
*/
public function getToken()
{
Expand All @@ -83,15 +88,37 @@ public function getToken()
/**
* Sets a new token
*
* @param \net\authorize\api\contract\v1\WebCheckOutDataType\TokenAType $token
* @param \net\authorize\api\contract\v1\WebCheckOutDataTypeTokenType $token
* @return self
*/
public function setToken(\net\authorize\api\contract\v1\WebCheckOutDataType\TokenAType $token)
public function setToken(\net\authorize\api\contract\v1\WebCheckOutDataTypeTokenType $token)
{
$this->token = $token;
return $this;
}

/**
* Gets as bankToken
*
* @return \net\authorize\api\contract\v1\BankAccountType
*/
public function getBankToken()
{
return $this->bankToken;
}

/**
* Sets a new bankToken
*
* @param \net\authorize\api\contract\v1\BankAccountType $bankToken
* @return self
*/
public function setBankToken(\net\authorize\api\contract\v1\BankAccountType $bankToken)
{
$this->bankToken = $bankToken;
return $this;
}


}

148 changes: 0 additions & 148 deletions lib/net/authorize/api/contract/v1/WebCheckOutDataType/TokenAType.php

This file was deleted.

52 changes: 0 additions & 52 deletions lib/net/authorize/api/yml/v1/WebCheckOutDataType.TokenAType.yml

This file was deleted.

Loading

0 comments on commit 33c5992

Please sign in to comment.