diff --git a/lib/net/authorize/api/contract/v1/ANetApiRequestType.php b/lib/net/authorize/api/contract/v1/ANetApiRequestType.php index c6318f81..062abf1e 100644 --- a/lib/net/authorize/api/contract/v1/ANetApiRequestType.php +++ b/lib/net/authorize/api/contract/v1/ANetApiRequestType.php @@ -95,7 +95,11 @@ public function setRefId($refId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -129,8 +133,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ANetApiResponseType.php b/lib/net/authorize/api/contract/v1/ANetApiResponseType.php index bd4ce74a..5d7b09ac 100644 --- a/lib/net/authorize/api/contract/v1/ANetApiResponseType.php +++ b/lib/net/authorize/api/contract/v1/ANetApiResponseType.php @@ -93,7 +93,11 @@ public function setSessionToken($sessionToken) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -126,9 +130,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ARBCancelSubscriptionRequest.php b/lib/net/authorize/api/contract/v1/ARBCancelSubscriptionRequest.php index 0d4dc733..333a9d09 100644 --- a/lib/net/authorize/api/contract/v1/ARBCancelSubscriptionRequest.php +++ b/lib/net/authorize/api/contract/v1/ARBCancelSubscriptionRequest.php @@ -36,7 +36,11 @@ public function setSubscriptionId($subscriptionId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/ARBCancelSubscriptionResponse.php b/lib/net/authorize/api/contract/v1/ARBCancelSubscriptionResponse.php index 39950af6..2bd7c1b6 100644 --- a/lib/net/authorize/api/contract/v1/ARBCancelSubscriptionResponse.php +++ b/lib/net/authorize/api/contract/v1/ARBCancelSubscriptionResponse.php @@ -8,8 +8,14 @@ class ARBCancelSubscriptionResponse extends ANetApiResponseType { - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ARBCreateSubscriptionRequest.php b/lib/net/authorize/api/contract/v1/ARBCreateSubscriptionRequest.php index 891cc974..8b409dc2 100644 --- a/lib/net/authorize/api/contract/v1/ARBCreateSubscriptionRequest.php +++ b/lib/net/authorize/api/contract/v1/ARBCreateSubscriptionRequest.php @@ -36,7 +36,11 @@ public function setSubscription(\net\authorize\api\contract\v1\ARBSubscriptionTy } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/ARBCreateSubscriptionResponse.php b/lib/net/authorize/api/contract/v1/ARBCreateSubscriptionResponse.php index 4207179d..274ed789 100644 --- a/lib/net/authorize/api/contract/v1/ARBCreateSubscriptionResponse.php +++ b/lib/net/authorize/api/contract/v1/ARBCreateSubscriptionResponse.php @@ -62,8 +62,14 @@ public function setProfile(\net\authorize\api\contract\v1\CustomerProfileIdType return $this; } - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListRequest.php b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListRequest.php index fa11f112..2727422f 100644 --- a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListRequest.php +++ b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListRequest.php @@ -91,7 +91,11 @@ public function setPaging(\net\authorize\api\contract\v1\PagingType $paging) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListResponse.php b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListResponse.php index cc079078..0ab58e29 100644 --- a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListResponse.php +++ b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListResponse.php @@ -98,8 +98,14 @@ public function setSubscriptionDetails(array $subscriptionDetails) return $this; } - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListSortingType.php b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListSortingType.php index 8005e6ac..31140e67 100644 --- a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListSortingType.php +++ b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListSortingType.php @@ -66,7 +66,11 @@ public function setOrderDescending($orderDescending) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -100,8 +104,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionRequest.php b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionRequest.php index 3061607c..d6e6c9b2 100644 --- a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionRequest.php +++ b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionRequest.php @@ -63,7 +63,11 @@ public function setIncludeTransactions($includeTransactions) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionResponse.php b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionResponse.php index cf70e9ad..79d442d7 100644 --- a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionResponse.php +++ b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionResponse.php @@ -35,8 +35,14 @@ public function setSubscription(\net\authorize\api\contract\v1\ARBSubscriptionMa return $this; } - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionStatusRequest.php b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionStatusRequest.php index ce3c3b3d..ab851877 100644 --- a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionStatusRequest.php +++ b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionStatusRequest.php @@ -36,7 +36,11 @@ public function setSubscriptionId($subscriptionId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionStatusResponse.php b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionStatusResponse.php index 1681a535..f7ce777f 100644 --- a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionStatusResponse.php +++ b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionStatusResponse.php @@ -33,10 +33,16 @@ public function setStatus($status) { $this->status = $status; return $this; - } - + } - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ARBSubscriptionMaskedType.php b/lib/net/authorize/api/contract/v1/ARBSubscriptionMaskedType.php index 37f4d597..effeab68 100644 --- a/lib/net/authorize/api/contract/v1/ARBSubscriptionMaskedType.php +++ b/lib/net/authorize/api/contract/v1/ARBSubscriptionMaskedType.php @@ -263,7 +263,11 @@ public function setArbTransactions(array $arbTransactions) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -296,9 +300,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ARBSubscriptionType.php b/lib/net/authorize/api/contract/v1/ARBSubscriptionType.php index 29c869dc..7051fe1b 100644 --- a/lib/net/authorize/api/contract/v1/ARBSubscriptionType.php +++ b/lib/net/authorize/api/contract/v1/ARBSubscriptionType.php @@ -282,7 +282,11 @@ public function setProfile(\net\authorize\api\contract\v1\CustomerProfileIdType } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -316,8 +320,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ARBUpdateSubscriptionRequest.php b/lib/net/authorize/api/contract/v1/ARBUpdateSubscriptionRequest.php index ca4b4bff..fd7b094e 100644 --- a/lib/net/authorize/api/contract/v1/ARBUpdateSubscriptionRequest.php +++ b/lib/net/authorize/api/contract/v1/ARBUpdateSubscriptionRequest.php @@ -63,7 +63,11 @@ public function setSubscription(\net\authorize\api\contract\v1\ARBSubscriptionTy } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/ARBUpdateSubscriptionResponse.php b/lib/net/authorize/api/contract/v1/ARBUpdateSubscriptionResponse.php index 387a8ef7..1a36943e 100644 --- a/lib/net/authorize/api/contract/v1/ARBUpdateSubscriptionResponse.php +++ b/lib/net/authorize/api/contract/v1/ARBUpdateSubscriptionResponse.php @@ -33,10 +33,16 @@ public function setProfile(\net\authorize\api\contract\v1\CustomerProfileIdType { $this->profile = $profile; return $this; - } - + } - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ArbTransactionType.php b/lib/net/authorize/api/contract/v1/ArbTransactionType.php index e906edc1..7385b9c9 100644 --- a/lib/net/authorize/api/contract/v1/ArbTransactionType.php +++ b/lib/net/authorize/api/contract/v1/ArbTransactionType.php @@ -147,7 +147,11 @@ public function setAttemptNum($attemptNum) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -180,9 +184,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ArrayOfSettingType.php b/lib/net/authorize/api/contract/v1/ArrayOfSettingType.php index 11d6fc05..9bb3f554 100644 --- a/lib/net/authorize/api/contract/v1/ArrayOfSettingType.php +++ b/lib/net/authorize/api/contract/v1/ArrayOfSettingType.php @@ -73,7 +73,11 @@ public function setSetting(array $setting) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -106,9 +110,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/AuDeleteType.php b/lib/net/authorize/api/contract/v1/AuDeleteType.php index b4d7063b..af606b3f 100644 --- a/lib/net/authorize/api/contract/v1/AuDeleteType.php +++ b/lib/net/authorize/api/contract/v1/AuDeleteType.php @@ -39,7 +39,11 @@ public function setCreditCard(\net\authorize\api\contract\v1\CreditCardMaskedTyp } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -72,9 +76,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/AuDetailsType.php b/lib/net/authorize/api/contract/v1/AuDetailsType.php index 58b88065..efe1ad95 100644 --- a/lib/net/authorize/api/contract/v1/AuDetailsType.php +++ b/lib/net/authorize/api/contract/v1/AuDetailsType.php @@ -201,7 +201,11 @@ public function setReasonDescription($reasonDescription) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -235,8 +239,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/AuResponseType.php b/lib/net/authorize/api/contract/v1/AuResponseType.php index 099358eb..fe760075 100644 --- a/lib/net/authorize/api/contract/v1/AuResponseType.php +++ b/lib/net/authorize/api/contract/v1/AuResponseType.php @@ -93,7 +93,11 @@ public function setReasonDescription($reasonDescription) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -127,8 +131,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/AuUpdateType.php b/lib/net/authorize/api/contract/v1/AuUpdateType.php index fb51f79b..5e146149 100644 --- a/lib/net/authorize/api/contract/v1/AuUpdateType.php +++ b/lib/net/authorize/api/contract/v1/AuUpdateType.php @@ -66,7 +66,11 @@ public function setOldCreditCard(\net\authorize\api\contract\v1\CreditCardMasked } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -99,9 +103,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/AuthenticateTestRequest.php b/lib/net/authorize/api/contract/v1/AuthenticateTestRequest.php index 2980072c..8f5a67f8 100644 --- a/lib/net/authorize/api/contract/v1/AuthenticateTestRequest.php +++ b/lib/net/authorize/api/contract/v1/AuthenticateTestRequest.php @@ -9,7 +9,11 @@ class AuthenticateTestRequest extends ANetApiRequestType { - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/AuthenticateTestResponse.php b/lib/net/authorize/api/contract/v1/AuthenticateTestResponse.php index abd00715..a4e95365 100644 --- a/lib/net/authorize/api/contract/v1/AuthenticateTestResponse.php +++ b/lib/net/authorize/api/contract/v1/AuthenticateTestResponse.php @@ -8,8 +8,14 @@ class AuthenticateTestResponse extends ANetApiResponseType { - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/BankAccountMaskedType.php b/lib/net/authorize/api/contract/v1/BankAccountMaskedType.php index 98c44695..94409b31 100644 --- a/lib/net/authorize/api/contract/v1/BankAccountMaskedType.php +++ b/lib/net/authorize/api/contract/v1/BankAccountMaskedType.php @@ -174,7 +174,11 @@ public function setBankName($bankName) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -208,8 +212,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/BankAccountType.php b/lib/net/authorize/api/contract/v1/BankAccountType.php index c0d3d792..7c76b7eb 100644 --- a/lib/net/authorize/api/contract/v1/BankAccountType.php +++ b/lib/net/authorize/api/contract/v1/BankAccountType.php @@ -201,7 +201,11 @@ public function setCheckNumber($checkNumber) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -234,9 +238,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/BatchDetailsType.php b/lib/net/authorize/api/contract/v1/BatchDetailsType.php index d2b4bc01..7b4610aa 100644 --- a/lib/net/authorize/api/contract/v1/BatchDetailsType.php +++ b/lib/net/authorize/api/contract/v1/BatchDetailsType.php @@ -262,7 +262,11 @@ public function setStatistics(array $statistics) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -296,8 +300,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/BatchStatisticType.php b/lib/net/authorize/api/contract/v1/BatchStatisticType.php index d484e90a..90fa90f1 100644 --- a/lib/net/authorize/api/contract/v1/BatchStatisticType.php +++ b/lib/net/authorize/api/contract/v1/BatchStatisticType.php @@ -579,7 +579,11 @@ public function setRefundReturnedItemsCount($refundReturnedItemsCount) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -612,9 +616,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CardArtType.php b/lib/net/authorize/api/contract/v1/CardArtType.php index a9b8949a..c50d83da 100644 --- a/lib/net/authorize/api/contract/v1/CardArtType.php +++ b/lib/net/authorize/api/contract/v1/CardArtType.php @@ -147,7 +147,11 @@ public function setCardType($cardType) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -181,8 +185,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CcAuthenticationType.php b/lib/net/authorize/api/contract/v1/CcAuthenticationType.php index 0ebc5a6f..a04f622b 100644 --- a/lib/net/authorize/api/contract/v1/CcAuthenticationType.php +++ b/lib/net/authorize/api/contract/v1/CcAuthenticationType.php @@ -66,7 +66,11 @@ public function setCardholderAuthenticationValue($cardholderAuthenticationValue) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -99,9 +103,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CreateCustomerPaymentProfileRequest.php b/lib/net/authorize/api/contract/v1/CreateCustomerPaymentProfileRequest.php index 97319c34..4c218b78 100644 --- a/lib/net/authorize/api/contract/v1/CreateCustomerPaymentProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/CreateCustomerPaymentProfileRequest.php @@ -91,7 +91,11 @@ public function setValidationMode($validationMode) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/CreateCustomerPaymentProfileResponse.php b/lib/net/authorize/api/contract/v1/CreateCustomerPaymentProfileResponse.php index da5a7494..4dd14ba9 100644 --- a/lib/net/authorize/api/contract/v1/CreateCustomerPaymentProfileResponse.php +++ b/lib/net/authorize/api/contract/v1/CreateCustomerPaymentProfileResponse.php @@ -87,10 +87,16 @@ public function setValidationDirectResponse($validationDirectResponse) { $this->validationDirectResponse = $validationDirectResponse; return $this; - } - + } - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CreateCustomerProfileFromTransactionRequest.php b/lib/net/authorize/api/contract/v1/CreateCustomerProfileFromTransactionRequest.php index a061c8f8..859ce796 100644 --- a/lib/net/authorize/api/contract/v1/CreateCustomerProfileFromTransactionRequest.php +++ b/lib/net/authorize/api/contract/v1/CreateCustomerProfileFromTransactionRequest.php @@ -171,7 +171,11 @@ public function setProfileType($profileType) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/CreateCustomerProfileRequest.php b/lib/net/authorize/api/contract/v1/CreateCustomerProfileRequest.php index 4022aacc..ab6851a0 100644 --- a/lib/net/authorize/api/contract/v1/CreateCustomerProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/CreateCustomerProfileRequest.php @@ -63,7 +63,11 @@ public function setValidationMode($validationMode) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/CreateCustomerProfileResponse.php b/lib/net/authorize/api/contract/v1/CreateCustomerProfileResponse.php index e412b0c4..d9f49090 100644 --- a/lib/net/authorize/api/contract/v1/CreateCustomerProfileResponse.php +++ b/lib/net/authorize/api/contract/v1/CreateCustomerProfileResponse.php @@ -216,10 +216,16 @@ public function setValidationDirectResponseList(array $validationDirectResponseL { $this->validationDirectResponseList = $validationDirectResponseList; return $this; - } - + } - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CreateCustomerProfileTransactionRequest.php b/lib/net/authorize/api/contract/v1/CreateCustomerProfileTransactionRequest.php index 6d240ed8..12f139cf 100644 --- a/lib/net/authorize/api/contract/v1/CreateCustomerProfileTransactionRequest.php +++ b/lib/net/authorize/api/contract/v1/CreateCustomerProfileTransactionRequest.php @@ -63,7 +63,11 @@ public function setExtraOptions($extraOptions) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/CreateCustomerProfileTransactionResponse.php b/lib/net/authorize/api/contract/v1/CreateCustomerProfileTransactionResponse.php index c18c214e..44e5fc02 100644 --- a/lib/net/authorize/api/contract/v1/CreateCustomerProfileTransactionResponse.php +++ b/lib/net/authorize/api/contract/v1/CreateCustomerProfileTransactionResponse.php @@ -62,10 +62,16 @@ public function setDirectResponse($directResponse) { $this->directResponse = $directResponse; return $this; - } - + } - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CreateCustomerShippingAddressRequest.php b/lib/net/authorize/api/contract/v1/CreateCustomerShippingAddressRequest.php index 703cc061..a05b2232 100644 --- a/lib/net/authorize/api/contract/v1/CreateCustomerShippingAddressRequest.php +++ b/lib/net/authorize/api/contract/v1/CreateCustomerShippingAddressRequest.php @@ -90,7 +90,11 @@ public function setDefaultShippingAddress($defaultShippingAddress) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/CreateCustomerShippingAddressResponse.php b/lib/net/authorize/api/contract/v1/CreateCustomerShippingAddressResponse.php index 7bd1feab..f46d8451 100644 --- a/lib/net/authorize/api/contract/v1/CreateCustomerShippingAddressResponse.php +++ b/lib/net/authorize/api/contract/v1/CreateCustomerShippingAddressResponse.php @@ -62,8 +62,14 @@ public function setCustomerAddressId($customerAddressId) return $this; } - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CreateProfileResponseType.php b/lib/net/authorize/api/contract/v1/CreateProfileResponseType.php index 1cec5a97..dff26685 100644 --- a/lib/net/authorize/api/contract/v1/CreateProfileResponseType.php +++ b/lib/net/authorize/api/contract/v1/CreateProfileResponseType.php @@ -188,7 +188,11 @@ public function setCustomerShippingAddressIdList(array $customerShippingAddressI } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -222,8 +226,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CreateTransactionRequest.php b/lib/net/authorize/api/contract/v1/CreateTransactionRequest.php index 094fe68f..7d169e61 100644 --- a/lib/net/authorize/api/contract/v1/CreateTransactionRequest.php +++ b/lib/net/authorize/api/contract/v1/CreateTransactionRequest.php @@ -37,7 +37,11 @@ public function setTransactionRequest(\net\authorize\api\contract\v1\Transaction } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/CreateTransactionResponse.php b/lib/net/authorize/api/contract/v1/CreateTransactionResponse.php index ecfbafb9..f10fdcb1 100644 --- a/lib/net/authorize/api/contract/v1/CreateTransactionResponse.php +++ b/lib/net/authorize/api/contract/v1/CreateTransactionResponse.php @@ -65,8 +65,14 @@ public function setProfileResponse(\net\authorize\api\contract\v1\CreateProfileR return $this; } - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CreditCardMaskedType.php b/lib/net/authorize/api/contract/v1/CreditCardMaskedType.php index 9a5313ae..13d749ea 100644 --- a/lib/net/authorize/api/contract/v1/CreditCardMaskedType.php +++ b/lib/net/authorize/api/contract/v1/CreditCardMaskedType.php @@ -174,7 +174,11 @@ public function setIsPaymentToken($isPaymentToken) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -208,8 +212,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CreditCardSimpleType.php b/lib/net/authorize/api/contract/v1/CreditCardSimpleType.php index 70f68b80..f12686e0 100644 --- a/lib/net/authorize/api/contract/v1/CreditCardSimpleType.php +++ b/lib/net/authorize/api/contract/v1/CreditCardSimpleType.php @@ -66,7 +66,11 @@ public function setExpirationDate($expirationDate) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -99,9 +103,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CreditCardTrackType.php b/lib/net/authorize/api/contract/v1/CreditCardTrackType.php index 3d59de79..b2a01332 100644 --- a/lib/net/authorize/api/contract/v1/CreditCardTrackType.php +++ b/lib/net/authorize/api/contract/v1/CreditCardTrackType.php @@ -66,7 +66,11 @@ public function setTrack2($track2) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -100,8 +104,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CreditCardType.php b/lib/net/authorize/api/contract/v1/CreditCardType.php index dcd7d24e..11e76bb1 100644 --- a/lib/net/authorize/api/contract/v1/CreditCardType.php +++ b/lib/net/authorize/api/contract/v1/CreditCardType.php @@ -174,7 +174,11 @@ public function setTokenRequestorEci($tokenRequestorEci) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -208,8 +212,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerAddressExType.php b/lib/net/authorize/api/contract/v1/CustomerAddressExType.php index c5c7dfea..089bead3 100644 --- a/lib/net/authorize/api/contract/v1/CustomerAddressExType.php +++ b/lib/net/authorize/api/contract/v1/CustomerAddressExType.php @@ -39,7 +39,11 @@ public function setCustomerAddressId($customerAddressId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -72,9 +76,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerAddressType.php b/lib/net/authorize/api/contract/v1/CustomerAddressType.php index 095d5234..295df4bd 100644 --- a/lib/net/authorize/api/contract/v1/CustomerAddressType.php +++ b/lib/net/authorize/api/contract/v1/CustomerAddressType.php @@ -93,7 +93,11 @@ public function setEmail($email) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -126,9 +130,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerDataType.php b/lib/net/authorize/api/contract/v1/CustomerDataType.php index 05dae26c..d28f27a6 100644 --- a/lib/net/authorize/api/contract/v1/CustomerDataType.php +++ b/lib/net/authorize/api/contract/v1/CustomerDataType.php @@ -147,7 +147,11 @@ public function setTaxId($taxId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -181,8 +185,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileBaseType.php b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileBaseType.php index 49f345f5..6a32a6f1 100644 --- a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileBaseType.php +++ b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileBaseType.php @@ -66,7 +66,11 @@ public function setBillTo(\net\authorize\api\contract\v1\CustomerAddressType $bi } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -100,8 +104,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileExType.php b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileExType.php index ecf2f2bd..155dd673 100644 --- a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileExType.php +++ b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileExType.php @@ -39,7 +39,11 @@ public function setCustomerPaymentProfileId($customerPaymentProfileId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -72,9 +76,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileListItemType.php b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileListItemType.php index 57fe31d4..931c8f31 100644 --- a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileListItemType.php +++ b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileListItemType.php @@ -147,7 +147,11 @@ public function setPayment(\net\authorize\api\contract\v1\PaymentMaskedType $pay } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -180,9 +184,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileMaskedType.php b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileMaskedType.php index e9ac164b..d82f9077 100644 --- a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileMaskedType.php +++ b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileMaskedType.php @@ -236,7 +236,11 @@ public function setSubscriptionIds(array $subscriptionIds) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -270,8 +274,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileSortingType.php b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileSortingType.php index 06eaf196..13354e47 100644 --- a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileSortingType.php +++ b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileSortingType.php @@ -66,7 +66,11 @@ public function setOrderDescending($orderDescending) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -99,9 +103,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileType.php b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileType.php index e19de563..df0aba10 100644 --- a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileType.php +++ b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileType.php @@ -120,7 +120,11 @@ public function setDefaultPaymentProfile($defaultPaymentProfile) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -153,9 +157,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerProfileBaseType.php b/lib/net/authorize/api/contract/v1/CustomerProfileBaseType.php index ea87c6d2..4da39e63 100644 --- a/lib/net/authorize/api/contract/v1/CustomerProfileBaseType.php +++ b/lib/net/authorize/api/contract/v1/CustomerProfileBaseType.php @@ -93,7 +93,11 @@ public function setEmail($email) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -126,9 +130,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerProfileExType.php b/lib/net/authorize/api/contract/v1/CustomerProfileExType.php index d0fe0a14..ee238057 100644 --- a/lib/net/authorize/api/contract/v1/CustomerProfileExType.php +++ b/lib/net/authorize/api/contract/v1/CustomerProfileExType.php @@ -39,7 +39,11 @@ public function setCustomerProfileId($customerProfileId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -73,8 +77,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerProfileIdType.php b/lib/net/authorize/api/contract/v1/CustomerProfileIdType.php index 5eb0dc20..eb0dda13 100644 --- a/lib/net/authorize/api/contract/v1/CustomerProfileIdType.php +++ b/lib/net/authorize/api/contract/v1/CustomerProfileIdType.php @@ -93,7 +93,11 @@ public function setCustomerAddressId($customerAddressId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -127,8 +131,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerProfileInfoExType.php b/lib/net/authorize/api/contract/v1/CustomerProfileInfoExType.php index bad0d17a..4101b4fd 100644 --- a/lib/net/authorize/api/contract/v1/CustomerProfileInfoExType.php +++ b/lib/net/authorize/api/contract/v1/CustomerProfileInfoExType.php @@ -39,7 +39,11 @@ public function setProfileType($profileType) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -72,9 +76,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerProfileMaskedType.php b/lib/net/authorize/api/contract/v1/CustomerProfileMaskedType.php index 23e87f88..8b157749 100644 --- a/lib/net/authorize/api/contract/v1/CustomerProfileMaskedType.php +++ b/lib/net/authorize/api/contract/v1/CustomerProfileMaskedType.php @@ -164,7 +164,11 @@ public function setProfileType($profileType) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -197,9 +201,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerProfilePaymentType.php b/lib/net/authorize/api/contract/v1/CustomerProfilePaymentType.php index 745a4b74..f25f5766 100644 --- a/lib/net/authorize/api/contract/v1/CustomerProfilePaymentType.php +++ b/lib/net/authorize/api/contract/v1/CustomerProfilePaymentType.php @@ -120,7 +120,11 @@ public function setShippingProfileId($shippingProfileId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -153,9 +157,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerProfileSummaryType.php b/lib/net/authorize/api/contract/v1/CustomerProfileSummaryType.php index 317fc979..9f283d9a 100644 --- a/lib/net/authorize/api/contract/v1/CustomerProfileSummaryType.php +++ b/lib/net/authorize/api/contract/v1/CustomerProfileSummaryType.php @@ -147,7 +147,11 @@ public function setCreatedDate(\DateTime $createdDate) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -180,9 +184,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerProfileType.php b/lib/net/authorize/api/contract/v1/CustomerProfileType.php index 9effb6fc..283cb2ef 100644 --- a/lib/net/authorize/api/contract/v1/CustomerProfileType.php +++ b/lib/net/authorize/api/contract/v1/CustomerProfileType.php @@ -164,7 +164,11 @@ public function setProfileType($profileType) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -197,9 +201,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/CustomerType.php b/lib/net/authorize/api/contract/v1/CustomerType.php index 16534520..120ab675 100644 --- a/lib/net/authorize/api/contract/v1/CustomerType.php +++ b/lib/net/authorize/api/contract/v1/CustomerType.php @@ -201,7 +201,11 @@ public function setTaxId($taxId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -234,9 +238,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/DecryptPaymentDataRequest.php b/lib/net/authorize/api/contract/v1/DecryptPaymentDataRequest.php index 1c85d7de..ca372858 100644 --- a/lib/net/authorize/api/contract/v1/DecryptPaymentDataRequest.php +++ b/lib/net/authorize/api/contract/v1/DecryptPaymentDataRequest.php @@ -63,7 +63,11 @@ public function setCallId($callId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/DecryptPaymentDataResponse.php b/lib/net/authorize/api/contract/v1/DecryptPaymentDataResponse.php index 75d6d570..477d0efd 100644 --- a/lib/net/authorize/api/contract/v1/DecryptPaymentDataResponse.php +++ b/lib/net/authorize/api/contract/v1/DecryptPaymentDataResponse.php @@ -114,10 +114,16 @@ public function setPaymentDetails(\net\authorize\api\contract\v1\PaymentDetailsT { $this->paymentDetails = $paymentDetails; return $this; - } - + } - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/DeleteCustomerPaymentProfileRequest.php b/lib/net/authorize/api/contract/v1/DeleteCustomerPaymentProfileRequest.php index 08bc47b1..29d20777 100644 --- a/lib/net/authorize/api/contract/v1/DeleteCustomerPaymentProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/DeleteCustomerPaymentProfileRequest.php @@ -63,7 +63,11 @@ public function setCustomerPaymentProfileId($customerPaymentProfileId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/DeleteCustomerPaymentProfileResponse.php b/lib/net/authorize/api/contract/v1/DeleteCustomerPaymentProfileResponse.php index a142e6c5..22da43c9 100644 --- a/lib/net/authorize/api/contract/v1/DeleteCustomerPaymentProfileResponse.php +++ b/lib/net/authorize/api/contract/v1/DeleteCustomerPaymentProfileResponse.php @@ -6,10 +6,16 @@ * Class representing DeleteCustomerPaymentProfileResponse */ class DeleteCustomerPaymentProfileResponse extends ANetApiResponseType -{ +{ - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/DeleteCustomerProfileRequest.php b/lib/net/authorize/api/contract/v1/DeleteCustomerProfileRequest.php index 99928832..a535dd69 100644 --- a/lib/net/authorize/api/contract/v1/DeleteCustomerProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/DeleteCustomerProfileRequest.php @@ -36,7 +36,11 @@ public function setCustomerProfileId($customerProfileId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/DeleteCustomerProfileResponse.php b/lib/net/authorize/api/contract/v1/DeleteCustomerProfileResponse.php index 320902d8..278cf06f 100644 --- a/lib/net/authorize/api/contract/v1/DeleteCustomerProfileResponse.php +++ b/lib/net/authorize/api/contract/v1/DeleteCustomerProfileResponse.php @@ -8,8 +8,14 @@ class DeleteCustomerProfileResponse extends ANetApiResponseType { - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/DeleteCustomerShippingAddressRequest.php b/lib/net/authorize/api/contract/v1/DeleteCustomerShippingAddressRequest.php index 53cbfd0c..74b1125e 100644 --- a/lib/net/authorize/api/contract/v1/DeleteCustomerShippingAddressRequest.php +++ b/lib/net/authorize/api/contract/v1/DeleteCustomerShippingAddressRequest.php @@ -63,7 +63,11 @@ public function setCustomerAddressId($customerAddressId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/DeleteCustomerShippingAddressResponse.php b/lib/net/authorize/api/contract/v1/DeleteCustomerShippingAddressResponse.php index ea895ed8..c66c3875 100644 --- a/lib/net/authorize/api/contract/v1/DeleteCustomerShippingAddressResponse.php +++ b/lib/net/authorize/api/contract/v1/DeleteCustomerShippingAddressResponse.php @@ -6,10 +6,16 @@ * Class representing DeleteCustomerShippingAddressResponse */ class DeleteCustomerShippingAddressResponse extends ANetApiResponseType -{ +{ - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/DriversLicenseMaskedType.php b/lib/net/authorize/api/contract/v1/DriversLicenseMaskedType.php index 1f0c7c95..ed9b6fb8 100644 --- a/lib/net/authorize/api/contract/v1/DriversLicenseMaskedType.php +++ b/lib/net/authorize/api/contract/v1/DriversLicenseMaskedType.php @@ -93,7 +93,11 @@ public function setDateOfBirth($dateOfBirth) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -126,9 +130,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/DriversLicenseType.php b/lib/net/authorize/api/contract/v1/DriversLicenseType.php index 6e1bdd47..db2e4eb0 100644 --- a/lib/net/authorize/api/contract/v1/DriversLicenseType.php +++ b/lib/net/authorize/api/contract/v1/DriversLicenseType.php @@ -93,7 +93,11 @@ public function setDateOfBirth($dateOfBirth) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -126,9 +130,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/EmailSettingsType.php b/lib/net/authorize/api/contract/v1/EmailSettingsType.php index 38c6e3cb..e656df2a 100644 --- a/lib/net/authorize/api/contract/v1/EmailSettingsType.php +++ b/lib/net/authorize/api/contract/v1/EmailSettingsType.php @@ -39,7 +39,11 @@ public function setVersion($version) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -73,8 +77,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/EmvTagType.php b/lib/net/authorize/api/contract/v1/EmvTagType.php index 00fb3e57..f2eb673f 100644 --- a/lib/net/authorize/api/contract/v1/EmvTagType.php +++ b/lib/net/authorize/api/contract/v1/EmvTagType.php @@ -93,7 +93,11 @@ public function setFormatted($formatted) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -126,9 +130,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/EncryptedTrackDataType.php b/lib/net/authorize/api/contract/v1/EncryptedTrackDataType.php index 169d6eb3..65b254df 100644 --- a/lib/net/authorize/api/contract/v1/EncryptedTrackDataType.php +++ b/lib/net/authorize/api/contract/v1/EncryptedTrackDataType.php @@ -39,7 +39,11 @@ public function setFormOfPayment(\net\authorize\api\contract\v1\KeyBlockType $fo } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -73,8 +77,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ErrorResponse.php b/lib/net/authorize/api/contract/v1/ErrorResponse.php index 9d13ee01..74610adf 100644 --- a/lib/net/authorize/api/contract/v1/ErrorResponse.php +++ b/lib/net/authorize/api/contract/v1/ErrorResponse.php @@ -8,8 +8,14 @@ class ErrorResponse extends ANetApiResponseType { - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ExtendedAmountType.php b/lib/net/authorize/api/contract/v1/ExtendedAmountType.php index 41c020b6..8cd62c7f 100644 --- a/lib/net/authorize/api/contract/v1/ExtendedAmountType.php +++ b/lib/net/authorize/api/contract/v1/ExtendedAmountType.php @@ -93,7 +93,11 @@ public function setDescription($description) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -126,9 +130,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/FDSFilterType.php b/lib/net/authorize/api/contract/v1/FDSFilterType.php index 542d8726..c883b6c7 100644 --- a/lib/net/authorize/api/contract/v1/FDSFilterType.php +++ b/lib/net/authorize/api/contract/v1/FDSFilterType.php @@ -66,7 +66,11 @@ public function setAction($action) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -100,8 +104,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/FingerPrintType.php b/lib/net/authorize/api/contract/v1/FingerPrintType.php index a2f2d4a8..ef6558fb 100644 --- a/lib/net/authorize/api/contract/v1/FingerPrintType.php +++ b/lib/net/authorize/api/contract/v1/FingerPrintType.php @@ -147,7 +147,11 @@ public function setAmount($amount) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -181,8 +185,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/FraudInformationType.php b/lib/net/authorize/api/contract/v1/FraudInformationType.php index 73783a6a..3e9d9a33 100644 --- a/lib/net/authorize/api/contract/v1/FraudInformationType.php +++ b/lib/net/authorize/api/contract/v1/FraudInformationType.php @@ -100,7 +100,11 @@ public function setFraudAction($fraudAction) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -133,9 +137,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/GetAUJobDetailsRequest.php b/lib/net/authorize/api/contract/v1/GetAUJobDetailsRequest.php index 66549e1a..f5e1f02e 100644 --- a/lib/net/authorize/api/contract/v1/GetAUJobDetailsRequest.php +++ b/lib/net/authorize/api/contract/v1/GetAUJobDetailsRequest.php @@ -90,7 +90,11 @@ public function setPaging(\net\authorize\api\contract\v1\PagingType $paging) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/GetAUJobDetailsResponse.php b/lib/net/authorize/api/contract/v1/GetAUJobDetailsResponse.php index 2254b415..4683ce2e 100644 --- a/lib/net/authorize/api/contract/v1/GetAUJobDetailsResponse.php +++ b/lib/net/authorize/api/contract/v1/GetAUJobDetailsResponse.php @@ -62,8 +62,14 @@ public function setAuDetails(\net\authorize\api\contract\v1\ListOfAUDetailsType return $this; } - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/GetAUJobSummaryRequest.php b/lib/net/authorize/api/contract/v1/GetAUJobSummaryRequest.php index 17eb6525..6b1dae7e 100644 --- a/lib/net/authorize/api/contract/v1/GetAUJobSummaryRequest.php +++ b/lib/net/authorize/api/contract/v1/GetAUJobSummaryRequest.php @@ -36,7 +36,11 @@ public function setMonth($month) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/GetAUJobSummaryResponse.php b/lib/net/authorize/api/contract/v1/GetAUJobSummaryResponse.php index 262ec082..9bff2cbe 100644 --- a/lib/net/authorize/api/contract/v1/GetAUJobSummaryResponse.php +++ b/lib/net/authorize/api/contract/v1/GetAUJobSummaryResponse.php @@ -69,8 +69,14 @@ public function setAuSummary(array $auSummary) return $this; } - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/GetBatchStatisticsRequest.php b/lib/net/authorize/api/contract/v1/GetBatchStatisticsRequest.php index 1a6ef70c..e7e093ed 100644 --- a/lib/net/authorize/api/contract/v1/GetBatchStatisticsRequest.php +++ b/lib/net/authorize/api/contract/v1/GetBatchStatisticsRequest.php @@ -36,7 +36,11 @@ public function setBatchId($batchId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/GetBatchStatisticsResponse.php b/lib/net/authorize/api/contract/v1/GetBatchStatisticsResponse.php index b5f28557..afe3cb7a 100644 --- a/lib/net/authorize/api/contract/v1/GetBatchStatisticsResponse.php +++ b/lib/net/authorize/api/contract/v1/GetBatchStatisticsResponse.php @@ -33,10 +33,16 @@ public function setBatch(\net\authorize\api\contract\v1\BatchDetailsType $batch) { $this->batch = $batch; return $this; - } - + } - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileListRequest.php b/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileListRequest.php index 2da1ac53..eb9833f9 100644 --- a/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileListRequest.php +++ b/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileListRequest.php @@ -118,7 +118,11 @@ public function setPaging(\net\authorize\api\contract\v1\PagingType $paging) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileListResponse.php b/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileListResponse.php index 639ed9da..e39d42df 100644 --- a/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileListResponse.php +++ b/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileListResponse.php @@ -97,10 +97,16 @@ public function setPaymentProfiles(array $paymentProfiles) { $this->paymentProfiles = $paymentProfiles; return $this; - } - + } - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileRequest.php b/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileRequest.php index 13c6a9df..99c3aa9b 100644 --- a/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileRequest.php @@ -117,7 +117,11 @@ public function setIncludeIssuerInfo($includeIssuerInfo) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileResponse.php b/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileResponse.php index 38e48175..83f5488f 100644 --- a/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileResponse.php +++ b/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileResponse.php @@ -37,8 +37,14 @@ public function setPaymentProfile(\net\authorize\api\contract\v1\CustomerPayment return $this; } - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/GetCustomerProfileIdsRequest.php b/lib/net/authorize/api/contract/v1/GetCustomerProfileIdsRequest.php index b9e0fcad..1c5d1573 100644 --- a/lib/net/authorize/api/contract/v1/GetCustomerProfileIdsRequest.php +++ b/lib/net/authorize/api/contract/v1/GetCustomerProfileIdsRequest.php @@ -9,7 +9,11 @@ class GetCustomerProfileIdsRequest extends ANetApiRequestType { - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/GetCustomerProfileIdsResponse.php b/lib/net/authorize/api/contract/v1/GetCustomerProfileIdsResponse.php index 718653de..6fee2bdc 100644 --- a/lib/net/authorize/api/contract/v1/GetCustomerProfileIdsResponse.php +++ b/lib/net/authorize/api/contract/v1/GetCustomerProfileIdsResponse.php @@ -69,8 +69,14 @@ public function setIds(array $ids) return $this; } - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/GetCustomerProfileRequest.php b/lib/net/authorize/api/contract/v1/GetCustomerProfileRequest.php index 2d547111..08f55205 100644 --- a/lib/net/authorize/api/contract/v1/GetCustomerProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/GetCustomerProfileRequest.php @@ -144,7 +144,11 @@ public function setIncludeIssuerInfo($includeIssuerInfo) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/GetCustomerProfileResponse.php b/lib/net/authorize/api/contract/v1/GetCustomerProfileResponse.php index 61305691..60fe610b 100644 --- a/lib/net/authorize/api/contract/v1/GetCustomerProfileResponse.php +++ b/lib/net/authorize/api/contract/v1/GetCustomerProfileResponse.php @@ -94,10 +94,16 @@ public function setSubscriptionIds(array $subscriptionIds) { $this->subscriptionIds = $subscriptionIds; return $this; - } - + } - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/GetCustomerShippingAddressRequest.php b/lib/net/authorize/api/contract/v1/GetCustomerShippingAddressRequest.php index 61fdfe2e..4ff7ec05 100644 --- a/lib/net/authorize/api/contract/v1/GetCustomerShippingAddressRequest.php +++ b/lib/net/authorize/api/contract/v1/GetCustomerShippingAddressRequest.php @@ -63,7 +63,11 @@ public function setCustomerAddressId($customerAddressId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/GetCustomerShippingAddressResponse.php b/lib/net/authorize/api/contract/v1/GetCustomerShippingAddressResponse.php index a407ffed..01cec90e 100644 --- a/lib/net/authorize/api/contract/v1/GetCustomerShippingAddressResponse.php +++ b/lib/net/authorize/api/contract/v1/GetCustomerShippingAddressResponse.php @@ -121,10 +121,16 @@ public function setSubscriptionIds(array $subscriptionIds) { $this->subscriptionIds = $subscriptionIds; return $this; - } - + } - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/GetHostedPaymentPageRequest.php b/lib/net/authorize/api/contract/v1/GetHostedPaymentPageRequest.php index 3b03ee73..e08c1d20 100644 --- a/lib/net/authorize/api/contract/v1/GetHostedPaymentPageRequest.php +++ b/lib/net/authorize/api/contract/v1/GetHostedPaymentPageRequest.php @@ -140,7 +140,11 @@ public function setHostedPaymentSettings(array $hostedPaymentSettings) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/GetHostedPaymentPageResponse.php b/lib/net/authorize/api/contract/v1/GetHostedPaymentPageResponse.php index ddbd4343..bcdfba99 100644 --- a/lib/net/authorize/api/contract/v1/GetHostedPaymentPageResponse.php +++ b/lib/net/authorize/api/contract/v1/GetHostedPaymentPageResponse.php @@ -33,10 +33,16 @@ public function setToken($token) { $this->token = $token; return $this; - } - + } - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/GetHostedProfilePageRequest.php b/lib/net/authorize/api/contract/v1/GetHostedProfilePageRequest.php index 86ac97e4..854798d6 100644 --- a/lib/net/authorize/api/contract/v1/GetHostedProfilePageRequest.php +++ b/lib/net/authorize/api/contract/v1/GetHostedProfilePageRequest.php @@ -139,7 +139,11 @@ public function setHostedProfileSettings(array $hostedProfileSettings) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/GetHostedProfilePageResponse.php b/lib/net/authorize/api/contract/v1/GetHostedProfilePageResponse.php index ae70c916..0145ada5 100644 --- a/lib/net/authorize/api/contract/v1/GetHostedProfilePageResponse.php +++ b/lib/net/authorize/api/contract/v1/GetHostedProfilePageResponse.php @@ -33,10 +33,16 @@ public function setToken($token) { $this->token = $token; return $this; - } - + } - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/GetMerchantDetailsRequest.php b/lib/net/authorize/api/contract/v1/GetMerchantDetailsRequest.php index 3b6a0b08..9d7099a6 100644 --- a/lib/net/authorize/api/contract/v1/GetMerchantDetailsRequest.php +++ b/lib/net/authorize/api/contract/v1/GetMerchantDetailsRequest.php @@ -9,7 +9,11 @@ class GetMerchantDetailsRequest extends ANetApiRequestType { - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/GetMerchantDetailsResponse.php b/lib/net/authorize/api/contract/v1/GetMerchantDetailsResponse.php index 778f0629..645743e9 100644 --- a/lib/net/authorize/api/contract/v1/GetMerchantDetailsResponse.php +++ b/lib/net/authorize/api/contract/v1/GetMerchantDetailsResponse.php @@ -419,10 +419,16 @@ public function setPublicClientKey($publicClientKey) { $this->publicClientKey = $publicClientKey; return $this; - } - + } - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/GetSettledBatchListRequest.php b/lib/net/authorize/api/contract/v1/GetSettledBatchListRequest.php index 125a49ad..97beef68 100644 --- a/lib/net/authorize/api/contract/v1/GetSettledBatchListRequest.php +++ b/lib/net/authorize/api/contract/v1/GetSettledBatchListRequest.php @@ -90,7 +90,11 @@ public function setLastSettlementDate(\DateTime $lastSettlementDate) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/GetSettledBatchListResponse.php b/lib/net/authorize/api/contract/v1/GetSettledBatchListResponse.php index 3cad5f6d..08daed1c 100644 --- a/lib/net/authorize/api/contract/v1/GetSettledBatchListResponse.php +++ b/lib/net/authorize/api/contract/v1/GetSettledBatchListResponse.php @@ -67,10 +67,16 @@ public function setBatchList(array $batchList) { $this->batchList = $batchList; return $this; - } - + } - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/GetTransactionDetailsRequest.php b/lib/net/authorize/api/contract/v1/GetTransactionDetailsRequest.php index 82fd5795..14ca54e6 100644 --- a/lib/net/authorize/api/contract/v1/GetTransactionDetailsRequest.php +++ b/lib/net/authorize/api/contract/v1/GetTransactionDetailsRequest.php @@ -36,7 +36,11 @@ public function setTransId($transId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/GetTransactionDetailsResponse.php b/lib/net/authorize/api/contract/v1/GetTransactionDetailsResponse.php index af71ce90..88846699 100644 --- a/lib/net/authorize/api/contract/v1/GetTransactionDetailsResponse.php +++ b/lib/net/authorize/api/contract/v1/GetTransactionDetailsResponse.php @@ -87,10 +87,16 @@ public function setTransrefId($transrefId) { $this->transrefId = $transrefId; return $this; - } - + } - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/GetTransactionListForCustomerRequest.php b/lib/net/authorize/api/contract/v1/GetTransactionListForCustomerRequest.php index 789e79c8..c50a4d74 100644 --- a/lib/net/authorize/api/contract/v1/GetTransactionListForCustomerRequest.php +++ b/lib/net/authorize/api/contract/v1/GetTransactionListForCustomerRequest.php @@ -117,7 +117,11 @@ public function setPaging(\net\authorize\api\contract\v1\PagingType $paging) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/GetTransactionListRequest.php b/lib/net/authorize/api/contract/v1/GetTransactionListRequest.php index 4fcce5ea..f0422469 100644 --- a/lib/net/authorize/api/contract/v1/GetTransactionListRequest.php +++ b/lib/net/authorize/api/contract/v1/GetTransactionListRequest.php @@ -90,7 +90,11 @@ public function setPaging(\net\authorize\api\contract\v1\PagingType $paging) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/GetTransactionListResponse.php b/lib/net/authorize/api/contract/v1/GetTransactionListResponse.php index b60ebd99..2666ebf3 100644 --- a/lib/net/authorize/api/contract/v1/GetTransactionListResponse.php +++ b/lib/net/authorize/api/contract/v1/GetTransactionListResponse.php @@ -96,8 +96,14 @@ public function setTotalNumInResultSet($totalNumInResultSet) return $this; } - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/GetUnsettledTransactionListRequest.php b/lib/net/authorize/api/contract/v1/GetUnsettledTransactionListRequest.php index 0fbe13e4..2d395d5a 100644 --- a/lib/net/authorize/api/contract/v1/GetUnsettledTransactionListRequest.php +++ b/lib/net/authorize/api/contract/v1/GetUnsettledTransactionListRequest.php @@ -90,7 +90,11 @@ public function setPaging(\net\authorize\api\contract\v1\PagingType $paging) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/GetUnsettledTransactionListResponse.php b/lib/net/authorize/api/contract/v1/GetUnsettledTransactionListResponse.php index 709992b1..87ee0a5a 100644 --- a/lib/net/authorize/api/contract/v1/GetUnsettledTransactionListResponse.php +++ b/lib/net/authorize/api/contract/v1/GetUnsettledTransactionListResponse.php @@ -96,8 +96,14 @@ public function setTotalNumInResultSet($totalNumInResultSet) return $this; } - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/HeldTransactionRequestType.php b/lib/net/authorize/api/contract/v1/HeldTransactionRequestType.php index 1f8d0a15..a86496ca 100644 --- a/lib/net/authorize/api/contract/v1/HeldTransactionRequestType.php +++ b/lib/net/authorize/api/contract/v1/HeldTransactionRequestType.php @@ -66,7 +66,11 @@ public function setRefTransId($refTransId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -99,9 +103,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ImpersonationAuthenticationType.php b/lib/net/authorize/api/contract/v1/ImpersonationAuthenticationType.php index 046e6f4a..badc018b 100644 --- a/lib/net/authorize/api/contract/v1/ImpersonationAuthenticationType.php +++ b/lib/net/authorize/api/contract/v1/ImpersonationAuthenticationType.php @@ -66,7 +66,11 @@ public function setPartnerTransactionKey($partnerTransactionKey) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -99,9 +103,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/IsAliveRequest.php b/lib/net/authorize/api/contract/v1/IsAliveRequest.php index ca072476..b8b2d59d 100644 --- a/lib/net/authorize/api/contract/v1/IsAliveRequest.php +++ b/lib/net/authorize/api/contract/v1/IsAliveRequest.php @@ -36,7 +36,11 @@ public function setRefId($refId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/IsAliveResponse.php b/lib/net/authorize/api/contract/v1/IsAliveResponse.php index 0854f70a..14879f8f 100644 --- a/lib/net/authorize/api/contract/v1/IsAliveResponse.php +++ b/lib/net/authorize/api/contract/v1/IsAliveResponse.php @@ -8,8 +8,14 @@ class IsAliveResponse extends ANetApiResponseType { - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/KeyBlockType.php b/lib/net/authorize/api/contract/v1/KeyBlockType.php index c78b7b9c..056fda35 100644 --- a/lib/net/authorize/api/contract/v1/KeyBlockType.php +++ b/lib/net/authorize/api/contract/v1/KeyBlockType.php @@ -39,7 +39,11 @@ public function setValue(\net\authorize\api\contract\v1\KeyValueType $value) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -72,9 +76,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/KeyManagementSchemeType.php b/lib/net/authorize/api/contract/v1/KeyManagementSchemeType.php index 3c66d852..1c01959f 100644 --- a/lib/net/authorize/api/contract/v1/KeyManagementSchemeType.php +++ b/lib/net/authorize/api/contract/v1/KeyManagementSchemeType.php @@ -40,7 +40,11 @@ public function setDUKPT(\net\authorize\api\contract\v1\KeyManagementSchemeType\ } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -74,8 +78,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType.php b/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType.php index c1af1274..07e18e7a 100644 --- a/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType.php +++ b/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType.php @@ -132,7 +132,11 @@ public function setEncryptedData(\net\authorize\api\contract\v1\KeyManagementSch } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -165,9 +169,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/DeviceInfoAType.php b/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/DeviceInfoAType.php index 69ace63d..fc445d08 100644 --- a/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/DeviceInfoAType.php +++ b/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/DeviceInfoAType.php @@ -36,7 +36,11 @@ public function setDescription($description) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -69,9 +73,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/EncryptedDataAType.php b/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/EncryptedDataAType.php index 3913cc27..1d2866d6 100644 --- a/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/EncryptedDataAType.php +++ b/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/EncryptedDataAType.php @@ -36,7 +36,11 @@ public function setValue($value) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -69,9 +73,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/ModeAType.php b/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/ModeAType.php index 12e0b369..5666f845 100644 --- a/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/ModeAType.php +++ b/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/ModeAType.php @@ -63,7 +63,11 @@ public function setData($data) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -97,8 +101,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/KeyValueType.php b/lib/net/authorize/api/contract/v1/KeyValueType.php index 21ed0b14..8069dbe4 100644 --- a/lib/net/authorize/api/contract/v1/KeyValueType.php +++ b/lib/net/authorize/api/contract/v1/KeyValueType.php @@ -93,7 +93,11 @@ public function setScheme(\net\authorize\api\contract\v1\KeyManagementSchemeType } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -126,9 +130,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/LineItemType.php b/lib/net/authorize/api/contract/v1/LineItemType.php index de0d839b..739e4cd5 100644 --- a/lib/net/authorize/api/contract/v1/LineItemType.php +++ b/lib/net/authorize/api/contract/v1/LineItemType.php @@ -714,7 +714,11 @@ public function setTaxIsAfterDiscount($taxIsAfterDiscount) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -748,8 +752,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ListOfAUDetailsType.php b/lib/net/authorize/api/contract/v1/ListOfAUDetailsType.php index 2543dc25..3717ce6c 100644 --- a/lib/net/authorize/api/contract/v1/ListOfAUDetailsType.php +++ b/lib/net/authorize/api/contract/v1/ListOfAUDetailsType.php @@ -134,7 +134,11 @@ public function setAuDelete(array $auDelete) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -167,9 +171,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/LogoutRequest.php b/lib/net/authorize/api/contract/v1/LogoutRequest.php index 9301f8a4..867544cd 100644 --- a/lib/net/authorize/api/contract/v1/LogoutRequest.php +++ b/lib/net/authorize/api/contract/v1/LogoutRequest.php @@ -9,7 +9,11 @@ class LogoutRequest extends ANetApiRequestType { - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/LogoutResponse.php b/lib/net/authorize/api/contract/v1/LogoutResponse.php index c351ecf8..7352df50 100644 --- a/lib/net/authorize/api/contract/v1/LogoutResponse.php +++ b/lib/net/authorize/api/contract/v1/LogoutResponse.php @@ -8,8 +8,14 @@ class LogoutResponse extends ANetApiResponseType { - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/MerchantAuthenticationType.php b/lib/net/authorize/api/contract/v1/MerchantAuthenticationType.php index bdb55dea..53208fe4 100644 --- a/lib/net/authorize/api/contract/v1/MerchantAuthenticationType.php +++ b/lib/net/authorize/api/contract/v1/MerchantAuthenticationType.php @@ -257,7 +257,11 @@ public function setMobileDeviceId($mobileDeviceId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -291,8 +295,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/MerchantContactType.php b/lib/net/authorize/api/contract/v1/MerchantContactType.php index dac2a83a..12acea7d 100644 --- a/lib/net/authorize/api/contract/v1/MerchantContactType.php +++ b/lib/net/authorize/api/contract/v1/MerchantContactType.php @@ -174,7 +174,11 @@ public function setMerchantPhone($merchantPhone) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -207,9 +211,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/MessagesType.php b/lib/net/authorize/api/contract/v1/MessagesType.php index 049dcea4..54ee9481 100644 --- a/lib/net/authorize/api/contract/v1/MessagesType.php +++ b/lib/net/authorize/api/contract/v1/MessagesType.php @@ -100,7 +100,11 @@ public function setMessage(array $message) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -133,9 +137,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/MessagesType/MessageAType.php b/lib/net/authorize/api/contract/v1/MessagesType/MessageAType.php index 8625272e..2b4816ab 100644 --- a/lib/net/authorize/api/contract/v1/MessagesType/MessageAType.php +++ b/lib/net/authorize/api/contract/v1/MessagesType/MessageAType.php @@ -63,7 +63,11 @@ public function setText($text) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -96,9 +100,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/MobileDeviceLoginRequest.php b/lib/net/authorize/api/contract/v1/MobileDeviceLoginRequest.php index 2d95f03c..ec921c8b 100644 --- a/lib/net/authorize/api/contract/v1/MobileDeviceLoginRequest.php +++ b/lib/net/authorize/api/contract/v1/MobileDeviceLoginRequest.php @@ -9,7 +9,11 @@ class MobileDeviceLoginRequest extends ANetApiRequestType { - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/MobileDeviceLoginResponse.php b/lib/net/authorize/api/contract/v1/MobileDeviceLoginResponse.php index f777796f..cbcceb06 100644 --- a/lib/net/authorize/api/contract/v1/MobileDeviceLoginResponse.php +++ b/lib/net/authorize/api/contract/v1/MobileDeviceLoginResponse.php @@ -121,10 +121,16 @@ public function setMerchantAccount(\net\authorize\api\contract\v1\TransRetailInf { $this->merchantAccount = $merchantAccount; return $this; - } - + } - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/MobileDeviceRegistrationRequest.php b/lib/net/authorize/api/contract/v1/MobileDeviceRegistrationRequest.php index 0db1a5a6..99353bc9 100644 --- a/lib/net/authorize/api/contract/v1/MobileDeviceRegistrationRequest.php +++ b/lib/net/authorize/api/contract/v1/MobileDeviceRegistrationRequest.php @@ -36,7 +36,11 @@ public function setMobileDevice(\net\authorize\api\contract\v1\MobileDeviceType } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/MobileDeviceRegistrationResponse.php b/lib/net/authorize/api/contract/v1/MobileDeviceRegistrationResponse.php index b6cd15f7..4cd74435 100644 --- a/lib/net/authorize/api/contract/v1/MobileDeviceRegistrationResponse.php +++ b/lib/net/authorize/api/contract/v1/MobileDeviceRegistrationResponse.php @@ -6,10 +6,16 @@ * Class representing MobileDeviceRegistrationResponse */ class MobileDeviceRegistrationResponse extends ANetApiResponseType -{ +{ - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/MobileDeviceType.php b/lib/net/authorize/api/contract/v1/MobileDeviceType.php index 0444c1be..20abfa92 100644 --- a/lib/net/authorize/api/contract/v1/MobileDeviceType.php +++ b/lib/net/authorize/api/contract/v1/MobileDeviceType.php @@ -147,7 +147,11 @@ public function setDeviceActivation($deviceActivation) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -181,8 +185,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/NameAndAddressType.php b/lib/net/authorize/api/contract/v1/NameAndAddressType.php index 0cab67fe..f4f7615e 100644 --- a/lib/net/authorize/api/contract/v1/NameAndAddressType.php +++ b/lib/net/authorize/api/contract/v1/NameAndAddressType.php @@ -228,7 +228,11 @@ public function setCountry($country) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -261,9 +265,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/OpaqueDataType.php b/lib/net/authorize/api/contract/v1/OpaqueDataType.php index 8bd6c6f2..04d9fa04 100644 --- a/lib/net/authorize/api/contract/v1/OpaqueDataType.php +++ b/lib/net/authorize/api/contract/v1/OpaqueDataType.php @@ -93,7 +93,11 @@ public function setDataKey($dataKey) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -126,9 +130,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/OrderExType.php b/lib/net/authorize/api/contract/v1/OrderExType.php index b0ca8592..304b74a7 100644 --- a/lib/net/authorize/api/contract/v1/OrderExType.php +++ b/lib/net/authorize/api/contract/v1/OrderExType.php @@ -39,7 +39,11 @@ public function setPurchaseOrderNumber($purchaseOrderNumber) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -73,8 +77,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/OrderType.php b/lib/net/authorize/api/contract/v1/OrderType.php index 6e7c6ef4..9d6df966 100644 --- a/lib/net/authorize/api/contract/v1/OrderType.php +++ b/lib/net/authorize/api/contract/v1/OrderType.php @@ -498,7 +498,11 @@ public function setAmexDataTAA4($amexDataTAA4) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -531,9 +535,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/OtherTaxType.php b/lib/net/authorize/api/contract/v1/OtherTaxType.php index d8d02486..7d1672e4 100644 --- a/lib/net/authorize/api/contract/v1/OtherTaxType.php +++ b/lib/net/authorize/api/contract/v1/OtherTaxType.php @@ -174,7 +174,11 @@ public function setVatTaxAmount($vatTaxAmount) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -208,8 +212,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/PagingType.php b/lib/net/authorize/api/contract/v1/PagingType.php index ac72b9a4..bf1fee4d 100644 --- a/lib/net/authorize/api/contract/v1/PagingType.php +++ b/lib/net/authorize/api/contract/v1/PagingType.php @@ -66,7 +66,11 @@ public function setOffset($offset) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -99,9 +103,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/PayPalType.php b/lib/net/authorize/api/contract/v1/PayPalType.php index 51d3ba66..211258f8 100644 --- a/lib/net/authorize/api/contract/v1/PayPalType.php +++ b/lib/net/authorize/api/contract/v1/PayPalType.php @@ -174,7 +174,11 @@ public function setPayerID($payerID) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -208,8 +212,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/PaymentDetailsType.php b/lib/net/authorize/api/contract/v1/PaymentDetailsType.php index a9824d31..be2f5228 100644 --- a/lib/net/authorize/api/contract/v1/PaymentDetailsType.php +++ b/lib/net/authorize/api/contract/v1/PaymentDetailsType.php @@ -282,7 +282,11 @@ public function setAmount($amount) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -316,8 +320,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/PaymentEmvType.php b/lib/net/authorize/api/contract/v1/PaymentEmvType.php index cf6b27f2..947ad9a5 100644 --- a/lib/net/authorize/api/contract/v1/PaymentEmvType.php +++ b/lib/net/authorize/api/contract/v1/PaymentEmvType.php @@ -93,7 +93,11 @@ public function setEmvVersion($emvVersion) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -126,9 +130,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/PaymentMaskedType.php b/lib/net/authorize/api/contract/v1/PaymentMaskedType.php index 1cbaf2da..54683290 100644 --- a/lib/net/authorize/api/contract/v1/PaymentMaskedType.php +++ b/lib/net/authorize/api/contract/v1/PaymentMaskedType.php @@ -93,7 +93,11 @@ public function setTokenInformation(\net\authorize\api\contract\v1\TokenMaskedTy } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -126,9 +130,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/PaymentProfileType.php b/lib/net/authorize/api/contract/v1/PaymentProfileType.php index d121b133..fbc6a6ab 100644 --- a/lib/net/authorize/api/contract/v1/PaymentProfileType.php +++ b/lib/net/authorize/api/contract/v1/PaymentProfileType.php @@ -66,7 +66,11 @@ public function setCardCode($cardCode) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -100,8 +104,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/PaymentScheduleType.php b/lib/net/authorize/api/contract/v1/PaymentScheduleType.php index 271b2923..d2d0cb1b 100644 --- a/lib/net/authorize/api/contract/v1/PaymentScheduleType.php +++ b/lib/net/authorize/api/contract/v1/PaymentScheduleType.php @@ -123,7 +123,11 @@ public function setTrialOccurrences($trialOccurrences) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -156,9 +160,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/PaymentScheduleType/IntervalAType.php b/lib/net/authorize/api/contract/v1/PaymentScheduleType/IntervalAType.php index e12aa13a..41c166fc 100644 --- a/lib/net/authorize/api/contract/v1/PaymentScheduleType/IntervalAType.php +++ b/lib/net/authorize/api/contract/v1/PaymentScheduleType/IntervalAType.php @@ -63,7 +63,11 @@ public function setUnit($unit) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -96,9 +100,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/PaymentSimpleType.php b/lib/net/authorize/api/contract/v1/PaymentSimpleType.php index 6026607f..646cd272 100644 --- a/lib/net/authorize/api/contract/v1/PaymentSimpleType.php +++ b/lib/net/authorize/api/contract/v1/PaymentSimpleType.php @@ -66,7 +66,11 @@ public function setBankAccount(\net\authorize\api\contract\v1\BankAccountType $b } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -100,8 +104,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/PaymentType.php b/lib/net/authorize/api/contract/v1/PaymentType.php index 46fd15b6..d4767305 100644 --- a/lib/net/authorize/api/contract/v1/PaymentType.php +++ b/lib/net/authorize/api/contract/v1/PaymentType.php @@ -229,7 +229,11 @@ public function setDataSource($dataSource) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -262,9 +266,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/PermissionType.php b/lib/net/authorize/api/contract/v1/PermissionType.php index f4e4de4a..71037da8 100644 --- a/lib/net/authorize/api/contract/v1/PermissionType.php +++ b/lib/net/authorize/api/contract/v1/PermissionType.php @@ -39,7 +39,11 @@ public function setPermissionName($permissionName) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -72,9 +76,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ProcessingOptionsType.php b/lib/net/authorize/api/contract/v1/ProcessingOptionsType.php index 0ad7a982..e2aef978 100644 --- a/lib/net/authorize/api/contract/v1/ProcessingOptionsType.php +++ b/lib/net/authorize/api/contract/v1/ProcessingOptionsType.php @@ -120,7 +120,11 @@ public function setIsStoredCredentials($isStoredCredentials) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -154,8 +158,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ProcessorType.php b/lib/net/authorize/api/contract/v1/ProcessorType.php index 935e0e83..0b760f83 100644 --- a/lib/net/authorize/api/contract/v1/ProcessorType.php +++ b/lib/net/authorize/api/contract/v1/ProcessorType.php @@ -127,7 +127,11 @@ public function setCardTypes(array $cardTypes) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -161,8 +165,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ProfileTransAmountType.php b/lib/net/authorize/api/contract/v1/ProfileTransAmountType.php index 8455a178..14f08682 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransAmountType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransAmountType.php @@ -181,7 +181,11 @@ public function setLineItems(array $lineItems) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -214,9 +218,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ProfileTransAuthCaptureType.php b/lib/net/authorize/api/contract/v1/ProfileTransAuthCaptureType.php index de08d189..d19e62a1 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransAuthCaptureType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransAuthCaptureType.php @@ -12,7 +12,11 @@ class ProfileTransAuthCaptureType extends ProfileTransOrderType implements \Json { - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -45,9 +49,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ProfileTransAuthOnlyType.php b/lib/net/authorize/api/contract/v1/ProfileTransAuthOnlyType.php index e8e0e6a3..ab565d2e 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransAuthOnlyType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransAuthOnlyType.php @@ -12,7 +12,11 @@ class ProfileTransAuthOnlyType extends ProfileTransOrderType implements \JsonSer { - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -46,8 +50,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ProfileTransCaptureOnlyType.php b/lib/net/authorize/api/contract/v1/ProfileTransCaptureOnlyType.php index 614b9605..8e8979b5 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransCaptureOnlyType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransCaptureOnlyType.php @@ -39,7 +39,11 @@ public function setApprovalCode($approvalCode) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -73,8 +77,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ProfileTransOrderType.php b/lib/net/authorize/api/contract/v1/ProfileTransOrderType.php index 66b6122a..15f5b710 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransOrderType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransOrderType.php @@ -285,7 +285,11 @@ public function setSubsequentAuthInformation(\net\authorize\api\contract\v1\Subs } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -318,9 +322,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ProfileTransPriorAuthCaptureType.php b/lib/net/authorize/api/contract/v1/ProfileTransPriorAuthCaptureType.php index d1089402..93fcdbea 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransPriorAuthCaptureType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransPriorAuthCaptureType.php @@ -120,7 +120,11 @@ public function setTransId($transId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -154,8 +158,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ProfileTransRefundType.php b/lib/net/authorize/api/contract/v1/ProfileTransRefundType.php index 8f9953bc..09a8e120 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransRefundType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransRefundType.php @@ -228,7 +228,11 @@ public function setTransId($transId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -261,9 +265,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ProfileTransVoidType.php b/lib/net/authorize/api/contract/v1/ProfileTransVoidType.php index f4a13fa3..48426210 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransVoidType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransVoidType.php @@ -120,7 +120,11 @@ public function setTransId($transId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -153,9 +157,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ProfileTransactionType.php b/lib/net/authorize/api/contract/v1/ProfileTransactionType.php index 010896c4..07fe072c 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransactionType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransactionType.php @@ -183,7 +183,11 @@ public function setProfileTransVoid(\net\authorize\api\contract\v1\ProfileTransV } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -217,8 +221,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ReturnedItemType.php b/lib/net/authorize/api/contract/v1/ReturnedItemType.php index f4e771e7..a276069f 100644 --- a/lib/net/authorize/api/contract/v1/ReturnedItemType.php +++ b/lib/net/authorize/api/contract/v1/ReturnedItemType.php @@ -147,7 +147,11 @@ public function setDescription($description) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -180,9 +184,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/SecurePaymentContainerErrorType.php b/lib/net/authorize/api/contract/v1/SecurePaymentContainerErrorType.php index 35dabd55..55563857 100644 --- a/lib/net/authorize/api/contract/v1/SecurePaymentContainerErrorType.php +++ b/lib/net/authorize/api/contract/v1/SecurePaymentContainerErrorType.php @@ -66,7 +66,11 @@ public function setDescription($description) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -99,9 +103,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/SecurePaymentContainerRequest.php b/lib/net/authorize/api/contract/v1/SecurePaymentContainerRequest.php index e0b62fd6..a2256c9d 100644 --- a/lib/net/authorize/api/contract/v1/SecurePaymentContainerRequest.php +++ b/lib/net/authorize/api/contract/v1/SecurePaymentContainerRequest.php @@ -36,7 +36,11 @@ public function setData(\net\authorize\api\contract\v1\WebCheckOutDataType $data } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/SecurePaymentContainerResponse.php b/lib/net/authorize/api/contract/v1/SecurePaymentContainerResponse.php index c5a7e476..cd38609d 100644 --- a/lib/net/authorize/api/contract/v1/SecurePaymentContainerResponse.php +++ b/lib/net/authorize/api/contract/v1/SecurePaymentContainerResponse.php @@ -35,8 +35,14 @@ public function setOpaqueData(\net\authorize\api\contract\v1\OpaqueDataType $opa return $this; } - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/SendCustomerTransactionReceiptRequest.php b/lib/net/authorize/api/contract/v1/SendCustomerTransactionReceiptRequest.php index 7b24ee3b..2edf6036 100644 --- a/lib/net/authorize/api/contract/v1/SendCustomerTransactionReceiptRequest.php +++ b/lib/net/authorize/api/contract/v1/SendCustomerTransactionReceiptRequest.php @@ -90,7 +90,11 @@ public function setEmailSettings(\net\authorize\api\contract\v1\EmailSettingsTyp } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/SendCustomerTransactionReceiptResponse.php b/lib/net/authorize/api/contract/v1/SendCustomerTransactionReceiptResponse.php index ce048aa7..bfbc8e1e 100644 --- a/lib/net/authorize/api/contract/v1/SendCustomerTransactionReceiptResponse.php +++ b/lib/net/authorize/api/contract/v1/SendCustomerTransactionReceiptResponse.php @@ -8,8 +8,14 @@ class SendCustomerTransactionReceiptResponse extends ANetApiResponseType { - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/SettingType.php b/lib/net/authorize/api/contract/v1/SettingType.php index 996dcb12..8382ebc6 100644 --- a/lib/net/authorize/api/contract/v1/SettingType.php +++ b/lib/net/authorize/api/contract/v1/SettingType.php @@ -66,7 +66,11 @@ public function setSettingValue($settingValue) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -100,8 +104,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/SolutionType.php b/lib/net/authorize/api/contract/v1/SolutionType.php index c0f68fda..8c0c42f4 100644 --- a/lib/net/authorize/api/contract/v1/SolutionType.php +++ b/lib/net/authorize/api/contract/v1/SolutionType.php @@ -93,7 +93,11 @@ public function setVendorName($vendorName) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -126,9 +130,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/SubMerchantType.php b/lib/net/authorize/api/contract/v1/SubMerchantType.php index d685d162..1215627b 100644 --- a/lib/net/authorize/api/contract/v1/SubMerchantType.php +++ b/lib/net/authorize/api/contract/v1/SubMerchantType.php @@ -309,7 +309,11 @@ public function setCountryCode($countryCode) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -343,8 +347,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/SubscriptionCustomerProfileType.php b/lib/net/authorize/api/contract/v1/SubscriptionCustomerProfileType.php index dde9cd58..ecc73168 100644 --- a/lib/net/authorize/api/contract/v1/SubscriptionCustomerProfileType.php +++ b/lib/net/authorize/api/contract/v1/SubscriptionCustomerProfileType.php @@ -68,7 +68,11 @@ public function setShippingProfile(\net\authorize\api\contract\v1\CustomerAddres } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -101,9 +105,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/SubscriptionDetailType.php b/lib/net/authorize/api/contract/v1/SubscriptionDetailType.php index 2bbe7d1e..aa3ec793 100644 --- a/lib/net/authorize/api/contract/v1/SubscriptionDetailType.php +++ b/lib/net/authorize/api/contract/v1/SubscriptionDetailType.php @@ -444,7 +444,11 @@ public function setCustomerShippingProfileId($customerShippingProfileId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -477,9 +481,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/SubscriptionPaymentType.php b/lib/net/authorize/api/contract/v1/SubscriptionPaymentType.php index 886d5d47..0896d82a 100644 --- a/lib/net/authorize/api/contract/v1/SubscriptionPaymentType.php +++ b/lib/net/authorize/api/contract/v1/SubscriptionPaymentType.php @@ -66,7 +66,11 @@ public function setPayNum($payNum) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -99,9 +103,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/SubsequentAuthInformationType.php b/lib/net/authorize/api/contract/v1/SubsequentAuthInformationType.php index f320cab3..a50a32a0 100644 --- a/lib/net/authorize/api/contract/v1/SubsequentAuthInformationType.php +++ b/lib/net/authorize/api/contract/v1/SubsequentAuthInformationType.php @@ -66,7 +66,11 @@ public function setReason($reason) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -99,9 +103,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TokenMaskedType.php b/lib/net/authorize/api/contract/v1/TokenMaskedType.php index ebc94495..9ec03476 100644 --- a/lib/net/authorize/api/contract/v1/TokenMaskedType.php +++ b/lib/net/authorize/api/contract/v1/TokenMaskedType.php @@ -120,7 +120,11 @@ public function setTokenRequestorId($tokenRequestorId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -154,8 +158,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransRetailInfoType.php b/lib/net/authorize/api/contract/v1/TransRetailInfoType.php index 0611741d..b4367166 100644 --- a/lib/net/authorize/api/contract/v1/TransRetailInfoType.php +++ b/lib/net/authorize/api/contract/v1/TransRetailInfoType.php @@ -120,7 +120,11 @@ public function setTerminalNumber($terminalNumber) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -153,9 +157,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionDetailsType.php b/lib/net/authorize/api/contract/v1/TransactionDetailsType.php index 4877c8f3..5a240480 100644 --- a/lib/net/authorize/api/contract/v1/TransactionDetailsType.php +++ b/lib/net/authorize/api/contract/v1/TransactionDetailsType.php @@ -1451,7 +1451,11 @@ public function setShipFrom(\net\authorize\api\contract\v1\NameAndAddressType $s } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -1484,9 +1488,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionDetailsType/EmvDetailsAType.php b/lib/net/authorize/api/contract/v1/TransactionDetailsType/EmvDetailsAType.php index b78cb907..53d8b419 100644 --- a/lib/net/authorize/api/contract/v1/TransactionDetailsType/EmvDetailsAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionDetailsType/EmvDetailsAType.php @@ -77,7 +77,11 @@ public function setTag(array $tag) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -110,9 +114,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionDetailsType/EmvDetailsAType/TagAType.php b/lib/net/authorize/api/contract/v1/TransactionDetailsType/EmvDetailsAType/TagAType.php index 3b7c2437..7c839a86 100644 --- a/lib/net/authorize/api/contract/v1/TransactionDetailsType/EmvDetailsAType/TagAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionDetailsType/EmvDetailsAType/TagAType.php @@ -63,7 +63,11 @@ public function setData($data) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -96,9 +100,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionListSortingType.php b/lib/net/authorize/api/contract/v1/TransactionListSortingType.php index 83faef43..e883c51e 100644 --- a/lib/net/authorize/api/contract/v1/TransactionListSortingType.php +++ b/lib/net/authorize/api/contract/v1/TransactionListSortingType.php @@ -66,7 +66,11 @@ public function setOrderDescending($orderDescending) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -99,9 +103,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionRequestType.php b/lib/net/authorize/api/contract/v1/TransactionRequestType.php index d1558f0f..78866738 100644 --- a/lib/net/authorize/api/contract/v1/TransactionRequestType.php +++ b/lib/net/authorize/api/contract/v1/TransactionRequestType.php @@ -1088,7 +1088,11 @@ public function setShipFrom(\net\authorize\api\contract\v1\NameAndAddressType $s } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -1122,8 +1126,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionRequestType/UserFieldsAType.php b/lib/net/authorize/api/contract/v1/TransactionRequestType/UserFieldsAType.php index 58f31598..5c1d96e3 100644 --- a/lib/net/authorize/api/contract/v1/TransactionRequestType/UserFieldsAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionRequestType/UserFieldsAType.php @@ -70,7 +70,11 @@ public function setUserField(array $userField) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -104,8 +108,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType.php index 56b57b4a..3abac80d 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType.php @@ -855,7 +855,11 @@ public function setNetworkTransId($networkTransId) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -888,9 +892,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/EmvResponseAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/EmvResponseAType.php index a0eba282..502df961 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/EmvResponseAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/EmvResponseAType.php @@ -97,7 +97,11 @@ public function setTags(array $tags) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -131,8 +135,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/EmvResponseAType/TagsAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/EmvResponseAType/TagsAType.php index 0ca99c08..67626ab7 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/EmvResponseAType/TagsAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/EmvResponseAType/TagsAType.php @@ -70,7 +70,11 @@ public function setTag(array $tag) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -104,8 +108,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/ErrorsAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/ErrorsAType.php index 69222227..054e85d0 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/ErrorsAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/ErrorsAType.php @@ -77,7 +77,11 @@ public function setError(array $error) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -110,9 +114,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/ErrorsAType/ErrorAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/ErrorsAType/ErrorAType.php index b9c5c5eb..e76d7231 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/ErrorsAType/ErrorAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/ErrorsAType/ErrorAType.php @@ -63,7 +63,11 @@ public function setErrorText($errorText) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -96,9 +100,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/MessagesAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/MessagesAType.php index 75dd82fc..c08cc3d4 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/MessagesAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/MessagesAType.php @@ -77,7 +77,11 @@ public function setMessage(array $message) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -110,9 +114,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/MessagesAType/MessageAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/MessagesAType/MessageAType.php index 7211fbe5..5d80f997 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/MessagesAType/MessageAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/MessagesAType/MessageAType.php @@ -63,7 +63,11 @@ public function setDescription($description) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -96,9 +100,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/PrePaidCardAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/PrePaidCardAType.php index 4650ad2a..abe6e310 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/PrePaidCardAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/PrePaidCardAType.php @@ -90,7 +90,11 @@ public function setBalanceOnCard($balanceOnCard) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -124,8 +128,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/SecureAcceptanceAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/SecureAcceptanceAType.php index dab6252c..10adc0d7 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/SecureAcceptanceAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/SecureAcceptanceAType.php @@ -90,7 +90,11 @@ public function setPayerEmail($payerEmail) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -123,9 +127,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/SplitTenderPaymentsAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/SplitTenderPaymentsAType.php index 875d2a7f..f8098635 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/SplitTenderPaymentsAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/SplitTenderPaymentsAType.php @@ -77,7 +77,11 @@ public function setSplitTenderPayment(array $splitTenderPayment) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -111,8 +115,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/SplitTenderPaymentsAType/SplitTenderPaymentAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/SplitTenderPaymentsAType/SplitTenderPaymentAType.php index 8527bc6a..0ddcb428 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/SplitTenderPaymentsAType/SplitTenderPaymentAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/SplitTenderPaymentsAType/SplitTenderPaymentAType.php @@ -252,7 +252,11 @@ public function setBalanceOnCard($balanceOnCard) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -285,9 +289,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/UserFieldsAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/UserFieldsAType.php index 1c491162..613a46db 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/UserFieldsAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/UserFieldsAType.php @@ -70,7 +70,11 @@ public function setUserField(array $userField) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -103,9 +107,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/TransactionSummaryType.php b/lib/net/authorize/api/contract/v1/TransactionSummaryType.php index 26b00d46..8d6d53a9 100644 --- a/lib/net/authorize/api/contract/v1/TransactionSummaryType.php +++ b/lib/net/authorize/api/contract/v1/TransactionSummaryType.php @@ -471,7 +471,11 @@ public function setProfile(\net\authorize\api\contract\v1\CustomerProfileIdType } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -504,9 +508,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/UpdateCustomerPaymentProfileRequest.php b/lib/net/authorize/api/contract/v1/UpdateCustomerPaymentProfileRequest.php index ffd62d50..288aebc9 100644 --- a/lib/net/authorize/api/contract/v1/UpdateCustomerPaymentProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/UpdateCustomerPaymentProfileRequest.php @@ -92,7 +92,11 @@ public function setValidationMode($validationMode) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/UpdateCustomerPaymentProfileResponse.php b/lib/net/authorize/api/contract/v1/UpdateCustomerPaymentProfileResponse.php index 52b40a7d..eda81389 100644 --- a/lib/net/authorize/api/contract/v1/UpdateCustomerPaymentProfileResponse.php +++ b/lib/net/authorize/api/contract/v1/UpdateCustomerPaymentProfileResponse.php @@ -33,10 +33,16 @@ public function setValidationDirectResponse($validationDirectResponse) { $this->validationDirectResponse = $validationDirectResponse; return $this; - } - + } - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/UpdateCustomerProfileRequest.php b/lib/net/authorize/api/contract/v1/UpdateCustomerProfileRequest.php index 8d686a23..7ad53163 100644 --- a/lib/net/authorize/api/contract/v1/UpdateCustomerProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/UpdateCustomerProfileRequest.php @@ -36,7 +36,11 @@ public function setProfile(\net\authorize\api\contract\v1\CustomerProfileExType } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/UpdateCustomerProfileResponse.php b/lib/net/authorize/api/contract/v1/UpdateCustomerProfileResponse.php index 03f89549..89f53e24 100644 --- a/lib/net/authorize/api/contract/v1/UpdateCustomerProfileResponse.php +++ b/lib/net/authorize/api/contract/v1/UpdateCustomerProfileResponse.php @@ -8,8 +8,14 @@ class UpdateCustomerProfileResponse extends ANetApiResponseType { - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/UpdateCustomerShippingAddressRequest.php b/lib/net/authorize/api/contract/v1/UpdateCustomerShippingAddressRequest.php index 31188c8d..0d09c7cc 100644 --- a/lib/net/authorize/api/contract/v1/UpdateCustomerShippingAddressRequest.php +++ b/lib/net/authorize/api/contract/v1/UpdateCustomerShippingAddressRequest.php @@ -90,7 +90,11 @@ public function setDefaultShippingAddress($defaultShippingAddress) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/UpdateCustomerShippingAddressResponse.php b/lib/net/authorize/api/contract/v1/UpdateCustomerShippingAddressResponse.php index 4b9d4c70..c4188fcc 100644 --- a/lib/net/authorize/api/contract/v1/UpdateCustomerShippingAddressResponse.php +++ b/lib/net/authorize/api/contract/v1/UpdateCustomerShippingAddressResponse.php @@ -6,10 +6,16 @@ * Class representing UpdateCustomerShippingAddressResponse */ class UpdateCustomerShippingAddressResponse extends ANetApiResponseType -{ +{ - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/UpdateHeldTransactionRequest.php b/lib/net/authorize/api/contract/v1/UpdateHeldTransactionRequest.php index 94398ad5..185333f0 100644 --- a/lib/net/authorize/api/contract/v1/UpdateHeldTransactionRequest.php +++ b/lib/net/authorize/api/contract/v1/UpdateHeldTransactionRequest.php @@ -38,7 +38,11 @@ public function setHeldTransactionRequest(\net\authorize\api\contract\v1\HeldTra } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/UpdateHeldTransactionResponse.php b/lib/net/authorize/api/contract/v1/UpdateHeldTransactionResponse.php index face72d9..15756b09 100644 --- a/lib/net/authorize/api/contract/v1/UpdateHeldTransactionResponse.php +++ b/lib/net/authorize/api/contract/v1/UpdateHeldTransactionResponse.php @@ -37,8 +37,14 @@ public function setTransactionResponse(\net\authorize\api\contract\v1\Transactio return $this; } - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/UpdateMerchantDetailsRequest.php b/lib/net/authorize/api/contract/v1/UpdateMerchantDetailsRequest.php index a59b5913..66961865 100644 --- a/lib/net/authorize/api/contract/v1/UpdateMerchantDetailsRequest.php +++ b/lib/net/authorize/api/contract/v1/UpdateMerchantDetailsRequest.php @@ -36,7 +36,11 @@ public function setIsTestMode($isTestMode) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/UpdateMerchantDetailsResponse.php b/lib/net/authorize/api/contract/v1/UpdateMerchantDetailsResponse.php index 3c9aade4..4103ebe6 100644 --- a/lib/net/authorize/api/contract/v1/UpdateMerchantDetailsResponse.php +++ b/lib/net/authorize/api/contract/v1/UpdateMerchantDetailsResponse.php @@ -6,10 +6,16 @@ * Class representing UpdateMerchantDetailsResponse */ class UpdateMerchantDetailsResponse extends ANetApiResponseType -{ +{ - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/UpdateSplitTenderGroupRequest.php b/lib/net/authorize/api/contract/v1/UpdateSplitTenderGroupRequest.php index 99b744aa..53344bca 100644 --- a/lib/net/authorize/api/contract/v1/UpdateSplitTenderGroupRequest.php +++ b/lib/net/authorize/api/contract/v1/UpdateSplitTenderGroupRequest.php @@ -63,7 +63,11 @@ public function setSplitTenderStatus($splitTenderStatus) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/UpdateSplitTenderGroupResponse.php b/lib/net/authorize/api/contract/v1/UpdateSplitTenderGroupResponse.php index d5f74dff..51df4054 100644 --- a/lib/net/authorize/api/contract/v1/UpdateSplitTenderGroupResponse.php +++ b/lib/net/authorize/api/contract/v1/UpdateSplitTenderGroupResponse.php @@ -6,10 +6,16 @@ * Class representing UpdateSplitTenderGroupResponse */ class UpdateSplitTenderGroupResponse extends ANetApiResponseType -{ +{ - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/UserFieldType.php b/lib/net/authorize/api/contract/v1/UserFieldType.php index dd9d6e6d..b3493b4f 100644 --- a/lib/net/authorize/api/contract/v1/UserFieldType.php +++ b/lib/net/authorize/api/contract/v1/UserFieldType.php @@ -66,7 +66,11 @@ public function setValue($value) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -100,8 +104,15 @@ function ($val){ return array_merge(parent::jsonSerialize(), $values); } } - - // Json Set Code + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/ValidateCustomerPaymentProfileRequest.php b/lib/net/authorize/api/contract/v1/ValidateCustomerPaymentProfileRequest.php index cfc51e0d..7772498a 100644 --- a/lib/net/authorize/api/contract/v1/ValidateCustomerPaymentProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/ValidateCustomerPaymentProfileRequest.php @@ -144,7 +144,11 @@ public function setValidationMode($validationMode) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ diff --git a/lib/net/authorize/api/contract/v1/ValidateCustomerPaymentProfileResponse.php b/lib/net/authorize/api/contract/v1/ValidateCustomerPaymentProfileResponse.php index d4169075..fb532e68 100644 --- a/lib/net/authorize/api/contract/v1/ValidateCustomerPaymentProfileResponse.php +++ b/lib/net/authorize/api/contract/v1/ValidateCustomerPaymentProfileResponse.php @@ -35,8 +35,14 @@ public function setDirectResponse($directResponse) return $this; } - - // Json Set Code + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/WebCheckOutDataType.php b/lib/net/authorize/api/contract/v1/WebCheckOutDataType.php index 6a08aa64..5bacc895 100644 --- a/lib/net/authorize/api/contract/v1/WebCheckOutDataType.php +++ b/lib/net/authorize/api/contract/v1/WebCheckOutDataType.php @@ -120,7 +120,11 @@ public function setBankToken(\net\authorize\api\contract\v1\BankAccountType $ban } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -153,9 +157,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) { diff --git a/lib/net/authorize/api/contract/v1/WebCheckOutDataTypeTokenType.php b/lib/net/authorize/api/contract/v1/WebCheckOutDataTypeTokenType.php index ff698686..7e7d5a9d 100644 --- a/lib/net/authorize/api/contract/v1/WebCheckOutDataTypeTokenType.php +++ b/lib/net/authorize/api/contract/v1/WebCheckOutDataTypeTokenType.php @@ -147,7 +147,11 @@ public function setFullName($fullName) } - // Json Serialize Code + /** + * Json Serialize Code + * + * @return array|mixed + */ public function jsonSerialize(){ $values = array_filter((array)get_object_vars($this), function ($val){ @@ -180,9 +184,16 @@ function ($val){ else{ return array_merge(parent::jsonSerialize(), $values); } - } - - // Json Set Code + } + + /** + * Json Set Code + * + * @param $data + * @throws \Exception + * + * @return void + */ public function set($data) { if(is_array($data) || is_object($data)) {