diff --git a/.travis.yml b/.travis.yml index 3bafacfa..adb94061 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,9 +8,9 @@ env: - TEST_SUITE=samples php: - - 5.6 - - 7.0 - - 7.1 + - 7.2 + - 7.3 + - 7.4 before_install: # execute all of the commands which need to be executed diff --git a/composer.json b/composer.json index e7e50bc8..ed0f9da6 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "license": "proprietary", "homepage": "http://developer.authorize.net", "require": { - "php": ">=5.6", + "php": ">=7.2", "ext-curl": "*", "ext-json": "*" }, diff --git a/lib/net/authorize/api/contract/v1/ANetApiRequestType.php b/lib/net/authorize/api/contract/v1/ANetApiRequestType.php index c6318f81..245f7563 100644 --- a/lib/net/authorize/api/contract/v1/ANetApiRequestType.php +++ b/lib/net/authorize/api/contract/v1/ANetApiRequestType.php @@ -122,12 +122,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ANetApiResponseType.php b/lib/net/authorize/api/contract/v1/ANetApiResponseType.php index bd4ce74a..eb038354 100644 --- a/lib/net/authorize/api/contract/v1/ANetApiResponseType.php +++ b/lib/net/authorize/api/contract/v1/ANetApiResponseType.php @@ -120,12 +120,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ARBCancelSubscriptionRequest.php b/lib/net/authorize/api/contract/v1/ARBCancelSubscriptionRequest.php index 0d4dc733..1c62abfc 100644 --- a/lib/net/authorize/api/contract/v1/ARBCancelSubscriptionRequest.php +++ b/lib/net/authorize/api/contract/v1/ARBCancelSubscriptionRequest.php @@ -63,13 +63,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/ARBCreateSubscriptionRequest.php b/lib/net/authorize/api/contract/v1/ARBCreateSubscriptionRequest.php index 891cc974..fd397cf6 100644 --- a/lib/net/authorize/api/contract/v1/ARBCreateSubscriptionRequest.php +++ b/lib/net/authorize/api/contract/v1/ARBCreateSubscriptionRequest.php @@ -63,13 +63,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListRequest.php b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListRequest.php index fa11f112..7722a05e 100644 --- a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListRequest.php +++ b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListRequest.php @@ -118,13 +118,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListSortingType.php b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListSortingType.php index 8005e6ac..5f77e4ee 100644 --- a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListSortingType.php +++ b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionListSortingType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionRequest.php b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionRequest.php index 3061607c..d32e1bdb 100644 --- a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionRequest.php +++ b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionRequest.php @@ -90,13 +90,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionStatusRequest.php b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionStatusRequest.php index ce3c3b3d..fdfaeacf 100644 --- a/lib/net/authorize/api/contract/v1/ARBGetSubscriptionStatusRequest.php +++ b/lib/net/authorize/api/contract/v1/ARBGetSubscriptionStatusRequest.php @@ -63,13 +63,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/ARBSubscriptionMaskedType.php b/lib/net/authorize/api/contract/v1/ARBSubscriptionMaskedType.php index 37f4d597..d9a8111f 100644 --- a/lib/net/authorize/api/contract/v1/ARBSubscriptionMaskedType.php +++ b/lib/net/authorize/api/contract/v1/ARBSubscriptionMaskedType.php @@ -290,12 +290,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ARBSubscriptionType.php b/lib/net/authorize/api/contract/v1/ARBSubscriptionType.php index 29c869dc..c63c0fd8 100644 --- a/lib/net/authorize/api/contract/v1/ARBSubscriptionType.php +++ b/lib/net/authorize/api/contract/v1/ARBSubscriptionType.php @@ -309,12 +309,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ARBUpdateSubscriptionRequest.php b/lib/net/authorize/api/contract/v1/ARBUpdateSubscriptionRequest.php index ca4b4bff..87977c78 100644 --- a/lib/net/authorize/api/contract/v1/ARBUpdateSubscriptionRequest.php +++ b/lib/net/authorize/api/contract/v1/ARBUpdateSubscriptionRequest.php @@ -90,13 +90,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/ArbTransactionType.php b/lib/net/authorize/api/contract/v1/ArbTransactionType.php index e906edc1..05d0b5b4 100644 --- a/lib/net/authorize/api/contract/v1/ArbTransactionType.php +++ b/lib/net/authorize/api/contract/v1/ArbTransactionType.php @@ -174,12 +174,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ArrayOfSettingType.php b/lib/net/authorize/api/contract/v1/ArrayOfSettingType.php index 11d6fc05..1db88353 100644 --- a/lib/net/authorize/api/contract/v1/ArrayOfSettingType.php +++ b/lib/net/authorize/api/contract/v1/ArrayOfSettingType.php @@ -100,12 +100,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/AuDeleteType.php b/lib/net/authorize/api/contract/v1/AuDeleteType.php index b4d7063b..eab9272a 100644 --- a/lib/net/authorize/api/contract/v1/AuDeleteType.php +++ b/lib/net/authorize/api/contract/v1/AuDeleteType.php @@ -66,12 +66,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/AuDetailsType.php b/lib/net/authorize/api/contract/v1/AuDetailsType.php index 58b88065..53921d8c 100644 --- a/lib/net/authorize/api/contract/v1/AuDetailsType.php +++ b/lib/net/authorize/api/contract/v1/AuDetailsType.php @@ -228,12 +228,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/AuResponseType.php b/lib/net/authorize/api/contract/v1/AuResponseType.php index 099358eb..9412c75b 100644 --- a/lib/net/authorize/api/contract/v1/AuResponseType.php +++ b/lib/net/authorize/api/contract/v1/AuResponseType.php @@ -120,12 +120,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/AuUpdateType.php b/lib/net/authorize/api/contract/v1/AuUpdateType.php index fb51f79b..e675b3c1 100644 --- a/lib/net/authorize/api/contract/v1/AuUpdateType.php +++ b/lib/net/authorize/api/contract/v1/AuUpdateType.php @@ -93,12 +93,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/AuthenticateTestRequest.php b/lib/net/authorize/api/contract/v1/AuthenticateTestRequest.php index 2980072c..58ee7d4a 100644 --- a/lib/net/authorize/api/contract/v1/AuthenticateTestRequest.php +++ b/lib/net/authorize/api/contract/v1/AuthenticateTestRequest.php @@ -36,13 +36,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/BankAccountMaskedType.php b/lib/net/authorize/api/contract/v1/BankAccountMaskedType.php index 98c44695..47007339 100644 --- a/lib/net/authorize/api/contract/v1/BankAccountMaskedType.php +++ b/lib/net/authorize/api/contract/v1/BankAccountMaskedType.php @@ -201,12 +201,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/BankAccountType.php b/lib/net/authorize/api/contract/v1/BankAccountType.php index c0d3d792..467120f0 100644 --- a/lib/net/authorize/api/contract/v1/BankAccountType.php +++ b/lib/net/authorize/api/contract/v1/BankAccountType.php @@ -228,12 +228,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/BatchDetailsType.php b/lib/net/authorize/api/contract/v1/BatchDetailsType.php index d2b4bc01..120c2f68 100644 --- a/lib/net/authorize/api/contract/v1/BatchDetailsType.php +++ b/lib/net/authorize/api/contract/v1/BatchDetailsType.php @@ -289,12 +289,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/BatchStatisticType.php b/lib/net/authorize/api/contract/v1/BatchStatisticType.php index d484e90a..cf9d332d 100644 --- a/lib/net/authorize/api/contract/v1/BatchStatisticType.php +++ b/lib/net/authorize/api/contract/v1/BatchStatisticType.php @@ -606,12 +606,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CardArtType.php b/lib/net/authorize/api/contract/v1/CardArtType.php index a9b8949a..6c152041 100644 --- a/lib/net/authorize/api/contract/v1/CardArtType.php +++ b/lib/net/authorize/api/contract/v1/CardArtType.php @@ -174,12 +174,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CcAuthenticationType.php b/lib/net/authorize/api/contract/v1/CcAuthenticationType.php index 0ebc5a6f..0763865e 100644 --- a/lib/net/authorize/api/contract/v1/CcAuthenticationType.php +++ b/lib/net/authorize/api/contract/v1/CcAuthenticationType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CreateCustomerPaymentProfileRequest.php b/lib/net/authorize/api/contract/v1/CreateCustomerPaymentProfileRequest.php index 97319c34..4729c186 100644 --- a/lib/net/authorize/api/contract/v1/CreateCustomerPaymentProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/CreateCustomerPaymentProfileRequest.php @@ -118,13 +118,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/CreateCustomerProfileFromTransactionRequest.php b/lib/net/authorize/api/contract/v1/CreateCustomerProfileFromTransactionRequest.php index a061c8f8..0138b8ee 100644 --- a/lib/net/authorize/api/contract/v1/CreateCustomerProfileFromTransactionRequest.php +++ b/lib/net/authorize/api/contract/v1/CreateCustomerProfileFromTransactionRequest.php @@ -198,12 +198,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } } diff --git a/lib/net/authorize/api/contract/v1/CreateCustomerProfileRequest.php b/lib/net/authorize/api/contract/v1/CreateCustomerProfileRequest.php index 4022aacc..d1b16ec3 100644 --- a/lib/net/authorize/api/contract/v1/CreateCustomerProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/CreateCustomerProfileRequest.php @@ -90,13 +90,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/CreateCustomerProfileTransactionRequest.php b/lib/net/authorize/api/contract/v1/CreateCustomerProfileTransactionRequest.php index 6d240ed8..389702e8 100644 --- a/lib/net/authorize/api/contract/v1/CreateCustomerProfileTransactionRequest.php +++ b/lib/net/authorize/api/contract/v1/CreateCustomerProfileTransactionRequest.php @@ -90,13 +90,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/CreateCustomerShippingAddressRequest.php b/lib/net/authorize/api/contract/v1/CreateCustomerShippingAddressRequest.php index 703cc061..fc85c0cc 100644 --- a/lib/net/authorize/api/contract/v1/CreateCustomerShippingAddressRequest.php +++ b/lib/net/authorize/api/contract/v1/CreateCustomerShippingAddressRequest.php @@ -117,13 +117,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/CreateProfileResponseType.php b/lib/net/authorize/api/contract/v1/CreateProfileResponseType.php index 1cec5a97..6b6b7399 100644 --- a/lib/net/authorize/api/contract/v1/CreateProfileResponseType.php +++ b/lib/net/authorize/api/contract/v1/CreateProfileResponseType.php @@ -215,12 +215,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CreateTransactionRequest.php b/lib/net/authorize/api/contract/v1/CreateTransactionRequest.php index 094fe68f..c28c82d0 100644 --- a/lib/net/authorize/api/contract/v1/CreateTransactionRequest.php +++ b/lib/net/authorize/api/contract/v1/CreateTransactionRequest.php @@ -64,13 +64,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/CreditCardMaskedType.php b/lib/net/authorize/api/contract/v1/CreditCardMaskedType.php index 9a5313ae..327afc01 100644 --- a/lib/net/authorize/api/contract/v1/CreditCardMaskedType.php +++ b/lib/net/authorize/api/contract/v1/CreditCardMaskedType.php @@ -201,12 +201,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CreditCardSimpleType.php b/lib/net/authorize/api/contract/v1/CreditCardSimpleType.php index 70f68b80..abdcdbed 100644 --- a/lib/net/authorize/api/contract/v1/CreditCardSimpleType.php +++ b/lib/net/authorize/api/contract/v1/CreditCardSimpleType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CreditCardTrackType.php b/lib/net/authorize/api/contract/v1/CreditCardTrackType.php index 3d59de79..0943fb5c 100644 --- a/lib/net/authorize/api/contract/v1/CreditCardTrackType.php +++ b/lib/net/authorize/api/contract/v1/CreditCardTrackType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CreditCardType.php b/lib/net/authorize/api/contract/v1/CreditCardType.php index dcd7d24e..173cd160 100644 --- a/lib/net/authorize/api/contract/v1/CreditCardType.php +++ b/lib/net/authorize/api/contract/v1/CreditCardType.php @@ -201,12 +201,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerAddressExType.php b/lib/net/authorize/api/contract/v1/CustomerAddressExType.php index c5c7dfea..acaa4e00 100644 --- a/lib/net/authorize/api/contract/v1/CustomerAddressExType.php +++ b/lib/net/authorize/api/contract/v1/CustomerAddressExType.php @@ -66,12 +66,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerAddressType.php b/lib/net/authorize/api/contract/v1/CustomerAddressType.php index 095d5234..12c1364f 100644 --- a/lib/net/authorize/api/contract/v1/CustomerAddressType.php +++ b/lib/net/authorize/api/contract/v1/CustomerAddressType.php @@ -120,12 +120,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerDataType.php b/lib/net/authorize/api/contract/v1/CustomerDataType.php index 05dae26c..43964658 100644 --- a/lib/net/authorize/api/contract/v1/CustomerDataType.php +++ b/lib/net/authorize/api/contract/v1/CustomerDataType.php @@ -174,12 +174,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileBaseType.php b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileBaseType.php index 49f345f5..c6b14321 100644 --- a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileBaseType.php +++ b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileBaseType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileExType.php b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileExType.php index ecf2f2bd..8bbe79a9 100644 --- a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileExType.php +++ b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileExType.php @@ -66,12 +66,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileListItemType.php b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileListItemType.php index 57fe31d4..46c4d979 100644 --- a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileListItemType.php +++ b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileListItemType.php @@ -174,12 +174,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileMaskedType.php b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileMaskedType.php index e9ac164b..06d1a4d0 100644 --- a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileMaskedType.php +++ b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileMaskedType.php @@ -263,12 +263,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileSortingType.php b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileSortingType.php index 06eaf196..38731d2d 100644 --- a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileSortingType.php +++ b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileSortingType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileType.php b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileType.php index e19de563..b15b3893 100644 --- a/lib/net/authorize/api/contract/v1/CustomerPaymentProfileType.php +++ b/lib/net/authorize/api/contract/v1/CustomerPaymentProfileType.php @@ -147,12 +147,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerProfileBaseType.php b/lib/net/authorize/api/contract/v1/CustomerProfileBaseType.php index ea87c6d2..c42e40ae 100644 --- a/lib/net/authorize/api/contract/v1/CustomerProfileBaseType.php +++ b/lib/net/authorize/api/contract/v1/CustomerProfileBaseType.php @@ -120,12 +120,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerProfileExType.php b/lib/net/authorize/api/contract/v1/CustomerProfileExType.php index d0fe0a14..9685cff4 100644 --- a/lib/net/authorize/api/contract/v1/CustomerProfileExType.php +++ b/lib/net/authorize/api/contract/v1/CustomerProfileExType.php @@ -66,12 +66,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerProfileIdType.php b/lib/net/authorize/api/contract/v1/CustomerProfileIdType.php index 5eb0dc20..9255a0e5 100644 --- a/lib/net/authorize/api/contract/v1/CustomerProfileIdType.php +++ b/lib/net/authorize/api/contract/v1/CustomerProfileIdType.php @@ -120,12 +120,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerProfileInfoExType.php b/lib/net/authorize/api/contract/v1/CustomerProfileInfoExType.php index bad0d17a..77ad3547 100644 --- a/lib/net/authorize/api/contract/v1/CustomerProfileInfoExType.php +++ b/lib/net/authorize/api/contract/v1/CustomerProfileInfoExType.php @@ -66,12 +66,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerProfileMaskedType.php b/lib/net/authorize/api/contract/v1/CustomerProfileMaskedType.php index 23e87f88..a5e4bb9f 100644 --- a/lib/net/authorize/api/contract/v1/CustomerProfileMaskedType.php +++ b/lib/net/authorize/api/contract/v1/CustomerProfileMaskedType.php @@ -191,12 +191,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerProfilePaymentType.php b/lib/net/authorize/api/contract/v1/CustomerProfilePaymentType.php index 745a4b74..5b90e4fa 100644 --- a/lib/net/authorize/api/contract/v1/CustomerProfilePaymentType.php +++ b/lib/net/authorize/api/contract/v1/CustomerProfilePaymentType.php @@ -147,12 +147,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerProfileSummaryType.php b/lib/net/authorize/api/contract/v1/CustomerProfileSummaryType.php index 317fc979..c86d171c 100644 --- a/lib/net/authorize/api/contract/v1/CustomerProfileSummaryType.php +++ b/lib/net/authorize/api/contract/v1/CustomerProfileSummaryType.php @@ -174,12 +174,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerProfileType.php b/lib/net/authorize/api/contract/v1/CustomerProfileType.php index 9effb6fc..ddbc923d 100644 --- a/lib/net/authorize/api/contract/v1/CustomerProfileType.php +++ b/lib/net/authorize/api/contract/v1/CustomerProfileType.php @@ -191,12 +191,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/CustomerType.php b/lib/net/authorize/api/contract/v1/CustomerType.php index 16534520..951621de 100644 --- a/lib/net/authorize/api/contract/v1/CustomerType.php +++ b/lib/net/authorize/api/contract/v1/CustomerType.php @@ -228,12 +228,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/DecryptPaymentDataRequest.php b/lib/net/authorize/api/contract/v1/DecryptPaymentDataRequest.php index 1c85d7de..4a82a868 100644 --- a/lib/net/authorize/api/contract/v1/DecryptPaymentDataRequest.php +++ b/lib/net/authorize/api/contract/v1/DecryptPaymentDataRequest.php @@ -90,13 +90,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/DeleteCustomerPaymentProfileRequest.php b/lib/net/authorize/api/contract/v1/DeleteCustomerPaymentProfileRequest.php index 08bc47b1..f98166f4 100644 --- a/lib/net/authorize/api/contract/v1/DeleteCustomerPaymentProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/DeleteCustomerPaymentProfileRequest.php @@ -90,13 +90,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/DeleteCustomerProfileRequest.php b/lib/net/authorize/api/contract/v1/DeleteCustomerProfileRequest.php index 99928832..c9c50eb5 100644 --- a/lib/net/authorize/api/contract/v1/DeleteCustomerProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/DeleteCustomerProfileRequest.php @@ -63,13 +63,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/DeleteCustomerShippingAddressRequest.php b/lib/net/authorize/api/contract/v1/DeleteCustomerShippingAddressRequest.php index 53cbfd0c..6a7c42bf 100644 --- a/lib/net/authorize/api/contract/v1/DeleteCustomerShippingAddressRequest.php +++ b/lib/net/authorize/api/contract/v1/DeleteCustomerShippingAddressRequest.php @@ -90,13 +90,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/DriversLicenseMaskedType.php b/lib/net/authorize/api/contract/v1/DriversLicenseMaskedType.php index 1f0c7c95..a54586a6 100644 --- a/lib/net/authorize/api/contract/v1/DriversLicenseMaskedType.php +++ b/lib/net/authorize/api/contract/v1/DriversLicenseMaskedType.php @@ -120,12 +120,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/DriversLicenseType.php b/lib/net/authorize/api/contract/v1/DriversLicenseType.php index 6e1bdd47..1b6c213d 100644 --- a/lib/net/authorize/api/contract/v1/DriversLicenseType.php +++ b/lib/net/authorize/api/contract/v1/DriversLicenseType.php @@ -120,12 +120,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/EmailSettingsType.php b/lib/net/authorize/api/contract/v1/EmailSettingsType.php index 38c6e3cb..bb4687a6 100644 --- a/lib/net/authorize/api/contract/v1/EmailSettingsType.php +++ b/lib/net/authorize/api/contract/v1/EmailSettingsType.php @@ -66,12 +66,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/EmvTagType.php b/lib/net/authorize/api/contract/v1/EmvTagType.php index 00fb3e57..82c411e7 100644 --- a/lib/net/authorize/api/contract/v1/EmvTagType.php +++ b/lib/net/authorize/api/contract/v1/EmvTagType.php @@ -120,12 +120,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/EncryptedTrackDataType.php b/lib/net/authorize/api/contract/v1/EncryptedTrackDataType.php index 169d6eb3..3fdf3cda 100644 --- a/lib/net/authorize/api/contract/v1/EncryptedTrackDataType.php +++ b/lib/net/authorize/api/contract/v1/EncryptedTrackDataType.php @@ -66,12 +66,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ExtendedAmountType.php b/lib/net/authorize/api/contract/v1/ExtendedAmountType.php index 41c020b6..5829672e 100644 --- a/lib/net/authorize/api/contract/v1/ExtendedAmountType.php +++ b/lib/net/authorize/api/contract/v1/ExtendedAmountType.php @@ -120,12 +120,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/FDSFilterType.php b/lib/net/authorize/api/contract/v1/FDSFilterType.php index 542d8726..5ef6783c 100644 --- a/lib/net/authorize/api/contract/v1/FDSFilterType.php +++ b/lib/net/authorize/api/contract/v1/FDSFilterType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/FingerPrintType.php b/lib/net/authorize/api/contract/v1/FingerPrintType.php index a2f2d4a8..b58d5960 100644 --- a/lib/net/authorize/api/contract/v1/FingerPrintType.php +++ b/lib/net/authorize/api/contract/v1/FingerPrintType.php @@ -174,12 +174,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/FraudInformationType.php b/lib/net/authorize/api/contract/v1/FraudInformationType.php index 73783a6a..8a4c8c64 100644 --- a/lib/net/authorize/api/contract/v1/FraudInformationType.php +++ b/lib/net/authorize/api/contract/v1/FraudInformationType.php @@ -127,12 +127,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/GetAUJobDetailsRequest.php b/lib/net/authorize/api/contract/v1/GetAUJobDetailsRequest.php index 66549e1a..382969dc 100644 --- a/lib/net/authorize/api/contract/v1/GetAUJobDetailsRequest.php +++ b/lib/net/authorize/api/contract/v1/GetAUJobDetailsRequest.php @@ -117,13 +117,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/GetAUJobSummaryRequest.php b/lib/net/authorize/api/contract/v1/GetAUJobSummaryRequest.php index 17eb6525..99220689 100644 --- a/lib/net/authorize/api/contract/v1/GetAUJobSummaryRequest.php +++ b/lib/net/authorize/api/contract/v1/GetAUJobSummaryRequest.php @@ -63,13 +63,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/GetBatchStatisticsRequest.php b/lib/net/authorize/api/contract/v1/GetBatchStatisticsRequest.php index 1a6ef70c..c5a04aef 100644 --- a/lib/net/authorize/api/contract/v1/GetBatchStatisticsRequest.php +++ b/lib/net/authorize/api/contract/v1/GetBatchStatisticsRequest.php @@ -63,13 +63,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileListRequest.php b/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileListRequest.php index 2da1ac53..73eb10c2 100644 --- a/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileListRequest.php +++ b/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileListRequest.php @@ -145,13 +145,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileRequest.php b/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileRequest.php index 13c6a9df..7c1e0b24 100644 --- a/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileRequest.php @@ -144,13 +144,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/GetCustomerProfileIdsRequest.php b/lib/net/authorize/api/contract/v1/GetCustomerProfileIdsRequest.php index b9e0fcad..65959071 100644 --- a/lib/net/authorize/api/contract/v1/GetCustomerProfileIdsRequest.php +++ b/lib/net/authorize/api/contract/v1/GetCustomerProfileIdsRequest.php @@ -36,13 +36,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/GetCustomerProfileRequest.php b/lib/net/authorize/api/contract/v1/GetCustomerProfileRequest.php index 2d547111..ba674809 100644 --- a/lib/net/authorize/api/contract/v1/GetCustomerProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/GetCustomerProfileRequest.php @@ -171,13 +171,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/GetCustomerShippingAddressRequest.php b/lib/net/authorize/api/contract/v1/GetCustomerShippingAddressRequest.php index 61fdfe2e..abb5a8c9 100644 --- a/lib/net/authorize/api/contract/v1/GetCustomerShippingAddressRequest.php +++ b/lib/net/authorize/api/contract/v1/GetCustomerShippingAddressRequest.php @@ -90,13 +90,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/GetHostedPaymentPageRequest.php b/lib/net/authorize/api/contract/v1/GetHostedPaymentPageRequest.php index 3b03ee73..e4a7d7c3 100644 --- a/lib/net/authorize/api/contract/v1/GetHostedPaymentPageRequest.php +++ b/lib/net/authorize/api/contract/v1/GetHostedPaymentPageRequest.php @@ -167,13 +167,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/GetHostedProfilePageRequest.php b/lib/net/authorize/api/contract/v1/GetHostedProfilePageRequest.php index 86ac97e4..8c236bd0 100644 --- a/lib/net/authorize/api/contract/v1/GetHostedProfilePageRequest.php +++ b/lib/net/authorize/api/contract/v1/GetHostedProfilePageRequest.php @@ -166,13 +166,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/GetMerchantDetailsRequest.php b/lib/net/authorize/api/contract/v1/GetMerchantDetailsRequest.php index 3b6a0b08..8e8454b2 100644 --- a/lib/net/authorize/api/contract/v1/GetMerchantDetailsRequest.php +++ b/lib/net/authorize/api/contract/v1/GetMerchantDetailsRequest.php @@ -36,13 +36,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/GetSettledBatchListRequest.php b/lib/net/authorize/api/contract/v1/GetSettledBatchListRequest.php index 125a49ad..38b35166 100644 --- a/lib/net/authorize/api/contract/v1/GetSettledBatchListRequest.php +++ b/lib/net/authorize/api/contract/v1/GetSettledBatchListRequest.php @@ -117,13 +117,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/GetTransactionDetailsRequest.php b/lib/net/authorize/api/contract/v1/GetTransactionDetailsRequest.php index 82fd5795..5f87310e 100644 --- a/lib/net/authorize/api/contract/v1/GetTransactionDetailsRequest.php +++ b/lib/net/authorize/api/contract/v1/GetTransactionDetailsRequest.php @@ -63,13 +63,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/GetTransactionListForCustomerRequest.php b/lib/net/authorize/api/contract/v1/GetTransactionListForCustomerRequest.php index 789e79c8..456f9c85 100644 --- a/lib/net/authorize/api/contract/v1/GetTransactionListForCustomerRequest.php +++ b/lib/net/authorize/api/contract/v1/GetTransactionListForCustomerRequest.php @@ -144,13 +144,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/GetTransactionListRequest.php b/lib/net/authorize/api/contract/v1/GetTransactionListRequest.php index 4fcce5ea..7cd0a5e8 100644 --- a/lib/net/authorize/api/contract/v1/GetTransactionListRequest.php +++ b/lib/net/authorize/api/contract/v1/GetTransactionListRequest.php @@ -117,13 +117,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/GetUnsettledTransactionListRequest.php b/lib/net/authorize/api/contract/v1/GetUnsettledTransactionListRequest.php index 0fbe13e4..2f612c30 100644 --- a/lib/net/authorize/api/contract/v1/GetUnsettledTransactionListRequest.php +++ b/lib/net/authorize/api/contract/v1/GetUnsettledTransactionListRequest.php @@ -117,13 +117,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/HeldTransactionRequestType.php b/lib/net/authorize/api/contract/v1/HeldTransactionRequestType.php index 1f8d0a15..fc276571 100644 --- a/lib/net/authorize/api/contract/v1/HeldTransactionRequestType.php +++ b/lib/net/authorize/api/contract/v1/HeldTransactionRequestType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ImpersonationAuthenticationType.php b/lib/net/authorize/api/contract/v1/ImpersonationAuthenticationType.php index 046e6f4a..6202ba2d 100644 --- a/lib/net/authorize/api/contract/v1/ImpersonationAuthenticationType.php +++ b/lib/net/authorize/api/contract/v1/ImpersonationAuthenticationType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/IsAliveRequest.php b/lib/net/authorize/api/contract/v1/IsAliveRequest.php index ca072476..f59eb4cd 100644 --- a/lib/net/authorize/api/contract/v1/IsAliveRequest.php +++ b/lib/net/authorize/api/contract/v1/IsAliveRequest.php @@ -63,12 +63,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } } diff --git a/lib/net/authorize/api/contract/v1/KeyBlockType.php b/lib/net/authorize/api/contract/v1/KeyBlockType.php index c78b7b9c..5622bacf 100644 --- a/lib/net/authorize/api/contract/v1/KeyBlockType.php +++ b/lib/net/authorize/api/contract/v1/KeyBlockType.php @@ -66,12 +66,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/KeyManagementSchemeType.php b/lib/net/authorize/api/contract/v1/KeyManagementSchemeType.php index 3c66d852..500bc1a7 100644 --- a/lib/net/authorize/api/contract/v1/KeyManagementSchemeType.php +++ b/lib/net/authorize/api/contract/v1/KeyManagementSchemeType.php @@ -67,12 +67,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType.php b/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType.php index c1af1274..eb4e90e6 100644 --- a/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType.php +++ b/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType.php @@ -159,12 +159,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code 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..70587563 100644 --- a/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/DeviceInfoAType.php +++ b/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/DeviceInfoAType.php @@ -63,12 +63,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code 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..560c3212 100644 --- a/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/EncryptedDataAType.php +++ b/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/EncryptedDataAType.php @@ -63,12 +63,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code 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..f8c92967 100644 --- a/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/ModeAType.php +++ b/lib/net/authorize/api/contract/v1/KeyManagementSchemeType/DUKPTAType/ModeAType.php @@ -90,12 +90,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/KeyValueType.php b/lib/net/authorize/api/contract/v1/KeyValueType.php index 21ed0b14..183f2365 100644 --- a/lib/net/authorize/api/contract/v1/KeyValueType.php +++ b/lib/net/authorize/api/contract/v1/KeyValueType.php @@ -120,12 +120,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/LineItemType.php b/lib/net/authorize/api/contract/v1/LineItemType.php index de0d839b..61b513fb 100644 --- a/lib/net/authorize/api/contract/v1/LineItemType.php +++ b/lib/net/authorize/api/contract/v1/LineItemType.php @@ -741,12 +741,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ListOfAUDetailsType.php b/lib/net/authorize/api/contract/v1/ListOfAUDetailsType.php index 2543dc25..6fa86548 100644 --- a/lib/net/authorize/api/contract/v1/ListOfAUDetailsType.php +++ b/lib/net/authorize/api/contract/v1/ListOfAUDetailsType.php @@ -161,12 +161,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/LogoutRequest.php b/lib/net/authorize/api/contract/v1/LogoutRequest.php index 9301f8a4..2894883f 100644 --- a/lib/net/authorize/api/contract/v1/LogoutRequest.php +++ b/lib/net/authorize/api/contract/v1/LogoutRequest.php @@ -36,13 +36,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/MerchantAuthenticationType.php b/lib/net/authorize/api/contract/v1/MerchantAuthenticationType.php index bdb55dea..2d1f71f5 100644 --- a/lib/net/authorize/api/contract/v1/MerchantAuthenticationType.php +++ b/lib/net/authorize/api/contract/v1/MerchantAuthenticationType.php @@ -284,12 +284,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/MerchantContactType.php b/lib/net/authorize/api/contract/v1/MerchantContactType.php index dac2a83a..00ab80a8 100644 --- a/lib/net/authorize/api/contract/v1/MerchantContactType.php +++ b/lib/net/authorize/api/contract/v1/MerchantContactType.php @@ -201,12 +201,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/MessagesType.php b/lib/net/authorize/api/contract/v1/MessagesType.php index 049dcea4..2555c580 100644 --- a/lib/net/authorize/api/contract/v1/MessagesType.php +++ b/lib/net/authorize/api/contract/v1/MessagesType.php @@ -127,12 +127,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/MessagesType/MessageAType.php b/lib/net/authorize/api/contract/v1/MessagesType/MessageAType.php index 8625272e..a6b9d615 100644 --- a/lib/net/authorize/api/contract/v1/MessagesType/MessageAType.php +++ b/lib/net/authorize/api/contract/v1/MessagesType/MessageAType.php @@ -90,12 +90,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/MobileDeviceLoginRequest.php b/lib/net/authorize/api/contract/v1/MobileDeviceLoginRequest.php index 2d95f03c..60e3dfe9 100644 --- a/lib/net/authorize/api/contract/v1/MobileDeviceLoginRequest.php +++ b/lib/net/authorize/api/contract/v1/MobileDeviceLoginRequest.php @@ -36,13 +36,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/MobileDeviceRegistrationRequest.php b/lib/net/authorize/api/contract/v1/MobileDeviceRegistrationRequest.php index 0db1a5a6..66e7b7b0 100644 --- a/lib/net/authorize/api/contract/v1/MobileDeviceRegistrationRequest.php +++ b/lib/net/authorize/api/contract/v1/MobileDeviceRegistrationRequest.php @@ -63,13 +63,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/MobileDeviceType.php b/lib/net/authorize/api/contract/v1/MobileDeviceType.php index 0444c1be..b9e61ad7 100644 --- a/lib/net/authorize/api/contract/v1/MobileDeviceType.php +++ b/lib/net/authorize/api/contract/v1/MobileDeviceType.php @@ -174,12 +174,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/NameAndAddressType.php b/lib/net/authorize/api/contract/v1/NameAndAddressType.php index 0cab67fe..95d6f622 100644 --- a/lib/net/authorize/api/contract/v1/NameAndAddressType.php +++ b/lib/net/authorize/api/contract/v1/NameAndAddressType.php @@ -255,12 +255,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/OpaqueDataType.php b/lib/net/authorize/api/contract/v1/OpaqueDataType.php index 8bd6c6f2..eb1d836c 100644 --- a/lib/net/authorize/api/contract/v1/OpaqueDataType.php +++ b/lib/net/authorize/api/contract/v1/OpaqueDataType.php @@ -120,12 +120,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/OrderExType.php b/lib/net/authorize/api/contract/v1/OrderExType.php index b0ca8592..bce31ce2 100644 --- a/lib/net/authorize/api/contract/v1/OrderExType.php +++ b/lib/net/authorize/api/contract/v1/OrderExType.php @@ -66,12 +66,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/OrderType.php b/lib/net/authorize/api/contract/v1/OrderType.php index 6e7c6ef4..3d417a43 100644 --- a/lib/net/authorize/api/contract/v1/OrderType.php +++ b/lib/net/authorize/api/contract/v1/OrderType.php @@ -525,12 +525,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/OtherTaxType.php b/lib/net/authorize/api/contract/v1/OtherTaxType.php index d8d02486..78c690cc 100644 --- a/lib/net/authorize/api/contract/v1/OtherTaxType.php +++ b/lib/net/authorize/api/contract/v1/OtherTaxType.php @@ -201,12 +201,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/PagingType.php b/lib/net/authorize/api/contract/v1/PagingType.php index ac72b9a4..d1898aa7 100644 --- a/lib/net/authorize/api/contract/v1/PagingType.php +++ b/lib/net/authorize/api/contract/v1/PagingType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/PayPalType.php b/lib/net/authorize/api/contract/v1/PayPalType.php index 51d3ba66..87e9e827 100644 --- a/lib/net/authorize/api/contract/v1/PayPalType.php +++ b/lib/net/authorize/api/contract/v1/PayPalType.php @@ -201,12 +201,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/PaymentDetailsType.php b/lib/net/authorize/api/contract/v1/PaymentDetailsType.php index a9824d31..020f7129 100644 --- a/lib/net/authorize/api/contract/v1/PaymentDetailsType.php +++ b/lib/net/authorize/api/contract/v1/PaymentDetailsType.php @@ -309,12 +309,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/PaymentEmvType.php b/lib/net/authorize/api/contract/v1/PaymentEmvType.php index cf6b27f2..cdb4109f 100644 --- a/lib/net/authorize/api/contract/v1/PaymentEmvType.php +++ b/lib/net/authorize/api/contract/v1/PaymentEmvType.php @@ -120,12 +120,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/PaymentMaskedType.php b/lib/net/authorize/api/contract/v1/PaymentMaskedType.php index 1cbaf2da..5de934e1 100644 --- a/lib/net/authorize/api/contract/v1/PaymentMaskedType.php +++ b/lib/net/authorize/api/contract/v1/PaymentMaskedType.php @@ -120,12 +120,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/PaymentProfileType.php b/lib/net/authorize/api/contract/v1/PaymentProfileType.php index d121b133..1645e003 100644 --- a/lib/net/authorize/api/contract/v1/PaymentProfileType.php +++ b/lib/net/authorize/api/contract/v1/PaymentProfileType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/PaymentScheduleType.php b/lib/net/authorize/api/contract/v1/PaymentScheduleType.php index 271b2923..6c189bb7 100644 --- a/lib/net/authorize/api/contract/v1/PaymentScheduleType.php +++ b/lib/net/authorize/api/contract/v1/PaymentScheduleType.php @@ -150,12 +150,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/PaymentScheduleType/IntervalAType.php b/lib/net/authorize/api/contract/v1/PaymentScheduleType/IntervalAType.php index e12aa13a..61e34042 100644 --- a/lib/net/authorize/api/contract/v1/PaymentScheduleType/IntervalAType.php +++ b/lib/net/authorize/api/contract/v1/PaymentScheduleType/IntervalAType.php @@ -90,12 +90,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/PaymentSimpleType.php b/lib/net/authorize/api/contract/v1/PaymentSimpleType.php index 6026607f..0b5c1070 100644 --- a/lib/net/authorize/api/contract/v1/PaymentSimpleType.php +++ b/lib/net/authorize/api/contract/v1/PaymentSimpleType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/PaymentType.php b/lib/net/authorize/api/contract/v1/PaymentType.php index 46fd15b6..5d7d36ea 100644 --- a/lib/net/authorize/api/contract/v1/PaymentType.php +++ b/lib/net/authorize/api/contract/v1/PaymentType.php @@ -256,12 +256,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/PermissionType.php b/lib/net/authorize/api/contract/v1/PermissionType.php index f4e4de4a..12b362d6 100644 --- a/lib/net/authorize/api/contract/v1/PermissionType.php +++ b/lib/net/authorize/api/contract/v1/PermissionType.php @@ -66,12 +66,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ProcessingOptionsType.php b/lib/net/authorize/api/contract/v1/ProcessingOptionsType.php index 0ad7a982..d36a0ed3 100644 --- a/lib/net/authorize/api/contract/v1/ProcessingOptionsType.php +++ b/lib/net/authorize/api/contract/v1/ProcessingOptionsType.php @@ -147,12 +147,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ProcessorType.php b/lib/net/authorize/api/contract/v1/ProcessorType.php index 935e0e83..30c985c9 100644 --- a/lib/net/authorize/api/contract/v1/ProcessorType.php +++ b/lib/net/authorize/api/contract/v1/ProcessorType.php @@ -154,12 +154,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ProfileTransAmountType.php b/lib/net/authorize/api/contract/v1/ProfileTransAmountType.php index 8455a178..d9d7c98b 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransAmountType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransAmountType.php @@ -208,12 +208,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ProfileTransAuthCaptureType.php b/lib/net/authorize/api/contract/v1/ProfileTransAuthCaptureType.php index de08d189..509eb60e 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransAuthCaptureType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransAuthCaptureType.php @@ -39,14 +39,10 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - + // Json Set Code public function set($data) { diff --git a/lib/net/authorize/api/contract/v1/ProfileTransAuthOnlyType.php b/lib/net/authorize/api/contract/v1/ProfileTransAuthOnlyType.php index e8e0e6a3..3ddc0bae 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransAuthOnlyType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransAuthOnlyType.php @@ -39,12 +39,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ProfileTransCaptureOnlyType.php b/lib/net/authorize/api/contract/v1/ProfileTransCaptureOnlyType.php index 614b9605..9287d1ef 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransCaptureOnlyType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransCaptureOnlyType.php @@ -66,12 +66,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ProfileTransOrderType.php b/lib/net/authorize/api/contract/v1/ProfileTransOrderType.php index 66b6122a..e45db399 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransOrderType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransOrderType.php @@ -312,12 +312,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ProfileTransPriorAuthCaptureType.php b/lib/net/authorize/api/contract/v1/ProfileTransPriorAuthCaptureType.php index d1089402..afacfd27 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransPriorAuthCaptureType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransPriorAuthCaptureType.php @@ -147,12 +147,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ProfileTransRefundType.php b/lib/net/authorize/api/contract/v1/ProfileTransRefundType.php index 8f9953bc..f94be99a 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransRefundType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransRefundType.php @@ -255,12 +255,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ProfileTransVoidType.php b/lib/net/authorize/api/contract/v1/ProfileTransVoidType.php index f4a13fa3..290d1540 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransVoidType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransVoidType.php @@ -147,12 +147,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ProfileTransactionType.php b/lib/net/authorize/api/contract/v1/ProfileTransactionType.php index 010896c4..1ea659ad 100644 --- a/lib/net/authorize/api/contract/v1/ProfileTransactionType.php +++ b/lib/net/authorize/api/contract/v1/ProfileTransactionType.php @@ -210,12 +210,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ReturnedItemType.php b/lib/net/authorize/api/contract/v1/ReturnedItemType.php index f4e771e7..231cd299 100644 --- a/lib/net/authorize/api/contract/v1/ReturnedItemType.php +++ b/lib/net/authorize/api/contract/v1/ReturnedItemType.php @@ -174,12 +174,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/SecurePaymentContainerErrorType.php b/lib/net/authorize/api/contract/v1/SecurePaymentContainerErrorType.php index 35dabd55..6d73dea1 100644 --- a/lib/net/authorize/api/contract/v1/SecurePaymentContainerErrorType.php +++ b/lib/net/authorize/api/contract/v1/SecurePaymentContainerErrorType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/SecurePaymentContainerRequest.php b/lib/net/authorize/api/contract/v1/SecurePaymentContainerRequest.php index e0b62fd6..ae0f7f54 100644 --- a/lib/net/authorize/api/contract/v1/SecurePaymentContainerRequest.php +++ b/lib/net/authorize/api/contract/v1/SecurePaymentContainerRequest.php @@ -63,13 +63,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/SendCustomerTransactionReceiptRequest.php b/lib/net/authorize/api/contract/v1/SendCustomerTransactionReceiptRequest.php index 7b24ee3b..857433fa 100644 --- a/lib/net/authorize/api/contract/v1/SendCustomerTransactionReceiptRequest.php +++ b/lib/net/authorize/api/contract/v1/SendCustomerTransactionReceiptRequest.php @@ -117,13 +117,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/SettingType.php b/lib/net/authorize/api/contract/v1/SettingType.php index 996dcb12..30f3fd02 100644 --- a/lib/net/authorize/api/contract/v1/SettingType.php +++ b/lib/net/authorize/api/contract/v1/SettingType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/SolutionType.php b/lib/net/authorize/api/contract/v1/SolutionType.php index c0f68fda..a398869a 100644 --- a/lib/net/authorize/api/contract/v1/SolutionType.php +++ b/lib/net/authorize/api/contract/v1/SolutionType.php @@ -120,12 +120,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/SubMerchantType.php b/lib/net/authorize/api/contract/v1/SubMerchantType.php index d685d162..0cb1785b 100644 --- a/lib/net/authorize/api/contract/v1/SubMerchantType.php +++ b/lib/net/authorize/api/contract/v1/SubMerchantType.php @@ -336,12 +336,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/SubscriptionCustomerProfileType.php b/lib/net/authorize/api/contract/v1/SubscriptionCustomerProfileType.php index dde9cd58..9f20b54f 100644 --- a/lib/net/authorize/api/contract/v1/SubscriptionCustomerProfileType.php +++ b/lib/net/authorize/api/contract/v1/SubscriptionCustomerProfileType.php @@ -95,12 +95,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/SubscriptionDetailType.php b/lib/net/authorize/api/contract/v1/SubscriptionDetailType.php index 2bbe7d1e..551a6054 100644 --- a/lib/net/authorize/api/contract/v1/SubscriptionDetailType.php +++ b/lib/net/authorize/api/contract/v1/SubscriptionDetailType.php @@ -471,12 +471,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/SubscriptionPaymentType.php b/lib/net/authorize/api/contract/v1/SubscriptionPaymentType.php index 886d5d47..cb9f82be 100644 --- a/lib/net/authorize/api/contract/v1/SubscriptionPaymentType.php +++ b/lib/net/authorize/api/contract/v1/SubscriptionPaymentType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/SubsequentAuthInformationType.php b/lib/net/authorize/api/contract/v1/SubsequentAuthInformationType.php index f320cab3..82e4b3cc 100644 --- a/lib/net/authorize/api/contract/v1/SubsequentAuthInformationType.php +++ b/lib/net/authorize/api/contract/v1/SubsequentAuthInformationType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/TokenMaskedType.php b/lib/net/authorize/api/contract/v1/TokenMaskedType.php index ebc94495..4478caf8 100644 --- a/lib/net/authorize/api/contract/v1/TokenMaskedType.php +++ b/lib/net/authorize/api/contract/v1/TokenMaskedType.php @@ -147,12 +147,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/TransRetailInfoType.php b/lib/net/authorize/api/contract/v1/TransRetailInfoType.php index 0611741d..791b179f 100644 --- a/lib/net/authorize/api/contract/v1/TransRetailInfoType.php +++ b/lib/net/authorize/api/contract/v1/TransRetailInfoType.php @@ -147,12 +147,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/TransactionDetailsType.php b/lib/net/authorize/api/contract/v1/TransactionDetailsType.php index 4877c8f3..563d0337 100644 --- a/lib/net/authorize/api/contract/v1/TransactionDetailsType.php +++ b/lib/net/authorize/api/contract/v1/TransactionDetailsType.php @@ -1478,12 +1478,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/TransactionDetailsType/EmvDetailsAType.php b/lib/net/authorize/api/contract/v1/TransactionDetailsType/EmvDetailsAType.php index b78cb907..55864271 100644 --- a/lib/net/authorize/api/contract/v1/TransactionDetailsType/EmvDetailsAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionDetailsType/EmvDetailsAType.php @@ -104,12 +104,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code 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..10ef7992 100644 --- a/lib/net/authorize/api/contract/v1/TransactionDetailsType/EmvDetailsAType/TagAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionDetailsType/EmvDetailsAType/TagAType.php @@ -90,12 +90,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/TransactionListSortingType.php b/lib/net/authorize/api/contract/v1/TransactionListSortingType.php index 83faef43..88c7ae7e 100644 --- a/lib/net/authorize/api/contract/v1/TransactionListSortingType.php +++ b/lib/net/authorize/api/contract/v1/TransactionListSortingType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/TransactionRequestType.php b/lib/net/authorize/api/contract/v1/TransactionRequestType.php index d1558f0f..2578ed1f 100644 --- a/lib/net/authorize/api/contract/v1/TransactionRequestType.php +++ b/lib/net/authorize/api/contract/v1/TransactionRequestType.php @@ -1115,12 +1115,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/TransactionRequestType/UserFieldsAType.php b/lib/net/authorize/api/contract/v1/TransactionRequestType/UserFieldsAType.php index 58f31598..485dad92 100644 --- a/lib/net/authorize/api/contract/v1/TransactionRequestType/UserFieldsAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionRequestType/UserFieldsAType.php @@ -97,12 +97,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType.php index 56b57b4a..b86ff8b6 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType.php @@ -882,12 +882,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/EmvResponseAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/EmvResponseAType.php index a0eba282..1641d166 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/EmvResponseAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/EmvResponseAType.php @@ -124,12 +124,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code 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..3ea6f19b 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/EmvResponseAType/TagsAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/EmvResponseAType/TagsAType.php @@ -97,12 +97,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/ErrorsAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/ErrorsAType.php index 69222227..7e46fbe0 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/ErrorsAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/ErrorsAType.php @@ -104,12 +104,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code 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..2148a33a 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/ErrorsAType/ErrorAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/ErrorsAType/ErrorAType.php @@ -90,12 +90,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/MessagesAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/MessagesAType.php index 75dd82fc..c66dbea7 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/MessagesAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/MessagesAType.php @@ -104,12 +104,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code 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..5120c166 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/MessagesAType/MessageAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/MessagesAType/MessageAType.php @@ -90,12 +90,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/PrePaidCardAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/PrePaidCardAType.php index 4650ad2a..8fa22a64 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/PrePaidCardAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/PrePaidCardAType.php @@ -117,12 +117,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/SecureAcceptanceAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/SecureAcceptanceAType.php index dab6252c..c323e147 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/SecureAcceptanceAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/SecureAcceptanceAType.php @@ -117,12 +117,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/SplitTenderPaymentsAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/SplitTenderPaymentsAType.php index 875d2a7f..14feb733 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/SplitTenderPaymentsAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/SplitTenderPaymentsAType.php @@ -104,12 +104,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code 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..5b9bfb7d 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/SplitTenderPaymentsAType/SplitTenderPaymentAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/SplitTenderPaymentsAType/SplitTenderPaymentAType.php @@ -279,12 +279,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/TransactionResponseType/UserFieldsAType.php b/lib/net/authorize/api/contract/v1/TransactionResponseType/UserFieldsAType.php index 1c491162..fa5949c8 100644 --- a/lib/net/authorize/api/contract/v1/TransactionResponseType/UserFieldsAType.php +++ b/lib/net/authorize/api/contract/v1/TransactionResponseType/UserFieldsAType.php @@ -97,12 +97,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/TransactionSummaryType.php b/lib/net/authorize/api/contract/v1/TransactionSummaryType.php index 26b00d46..f37441e3 100644 --- a/lib/net/authorize/api/contract/v1/TransactionSummaryType.php +++ b/lib/net/authorize/api/contract/v1/TransactionSummaryType.php @@ -498,12 +498,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/UpdateCustomerPaymentProfileRequest.php b/lib/net/authorize/api/contract/v1/UpdateCustomerPaymentProfileRequest.php index ffd62d50..20d3bd6b 100644 --- a/lib/net/authorize/api/contract/v1/UpdateCustomerPaymentProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/UpdateCustomerPaymentProfileRequest.php @@ -119,13 +119,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/UpdateCustomerProfileRequest.php b/lib/net/authorize/api/contract/v1/UpdateCustomerProfileRequest.php index 8d686a23..ed452bd6 100644 --- a/lib/net/authorize/api/contract/v1/UpdateCustomerProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/UpdateCustomerProfileRequest.php @@ -63,13 +63,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/UpdateCustomerShippingAddressRequest.php b/lib/net/authorize/api/contract/v1/UpdateCustomerShippingAddressRequest.php index 31188c8d..3d4175ee 100644 --- a/lib/net/authorize/api/contract/v1/UpdateCustomerShippingAddressRequest.php +++ b/lib/net/authorize/api/contract/v1/UpdateCustomerShippingAddressRequest.php @@ -117,13 +117,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/UpdateHeldTransactionRequest.php b/lib/net/authorize/api/contract/v1/UpdateHeldTransactionRequest.php index 94398ad5..1cd3564f 100644 --- a/lib/net/authorize/api/contract/v1/UpdateHeldTransactionRequest.php +++ b/lib/net/authorize/api/contract/v1/UpdateHeldTransactionRequest.php @@ -65,13 +65,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/UpdateMerchantDetailsRequest.php b/lib/net/authorize/api/contract/v1/UpdateMerchantDetailsRequest.php index a59b5913..680d4638 100644 --- a/lib/net/authorize/api/contract/v1/UpdateMerchantDetailsRequest.php +++ b/lib/net/authorize/api/contract/v1/UpdateMerchantDetailsRequest.php @@ -63,13 +63,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/UpdateSplitTenderGroupRequest.php b/lib/net/authorize/api/contract/v1/UpdateSplitTenderGroupRequest.php index 99b744aa..694140cc 100644 --- a/lib/net/authorize/api/contract/v1/UpdateSplitTenderGroupRequest.php +++ b/lib/net/authorize/api/contract/v1/UpdateSplitTenderGroupRequest.php @@ -90,13 +90,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/UserFieldType.php b/lib/net/authorize/api/contract/v1/UserFieldType.php index dd9d6e6d..f3f39529 100644 --- a/lib/net/authorize/api/contract/v1/UserFieldType.php +++ b/lib/net/authorize/api/contract/v1/UserFieldType.php @@ -93,12 +93,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/ValidateCustomerPaymentProfileRequest.php b/lib/net/authorize/api/contract/v1/ValidateCustomerPaymentProfileRequest.php index cfc51e0d..37b56a80 100644 --- a/lib/net/authorize/api/contract/v1/ValidateCustomerPaymentProfileRequest.php +++ b/lib/net/authorize/api/contract/v1/ValidateCustomerPaymentProfileRequest.php @@ -171,13 +171,8 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + + return array_merge(parent::jsonSerialize(), $values); } - } diff --git a/lib/net/authorize/api/contract/v1/WebCheckOutDataType.php b/lib/net/authorize/api/contract/v1/WebCheckOutDataType.php index 6a08aa64..66e756e9 100644 --- a/lib/net/authorize/api/contract/v1/WebCheckOutDataType.php +++ b/lib/net/authorize/api/contract/v1/WebCheckOutDataType.php @@ -147,12 +147,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/lib/net/authorize/api/contract/v1/WebCheckOutDataTypeTokenType.php b/lib/net/authorize/api/contract/v1/WebCheckOutDataTypeTokenType.php index ff698686..b7bc6de6 100644 --- a/lib/net/authorize/api/contract/v1/WebCheckOutDataTypeTokenType.php +++ b/lib/net/authorize/api/contract/v1/WebCheckOutDataTypeTokenType.php @@ -174,12 +174,7 @@ function ($val){ } } } - if (get_parent_class() == ""){ - return $values; - } - else{ - return array_merge(parent::jsonSerialize(), $values); - } + return $values; } // Json Set Code diff --git a/tests/Controller_Test.php b/tests/Controller_Test.php index 7cdb3546..a5ab7599 100644 --- a/tests/Controller_Test.php +++ b/tests/Controller_Test.php @@ -46,7 +46,7 @@ public function testARBGetSubscriptionList() $this->assertEquals("Ok", $response->getMessages()->getResultCode()); $this->assertEquals($response->getRefId(), $refId); - $this->assertTrue(0 < count($response->getMessages())); + $this->assertNotNull($response->getMessages()); foreach ($response->getMessages() as $message) { $this->assertEquals("I00001", $message->getCode()); @@ -79,7 +79,7 @@ public function testARBGetSubscription() $this->assertEquals("Ok", $response->getMessages()->getResultCode()); $this->assertEquals($response->getRefId(), $refId); - $this->assertTrue(0 < count($response->getMessages())); + $this->assertNotNull($response->getMessages()); foreach ($response->getMessages() as $message) { @@ -124,7 +124,7 @@ public function testGetCustomerPaymentProfileList() $this->assertEquals("Ok", $response->getMessages()->getResultCode()); $this->assertEquals($response->getRefId(), $refId); - $this->assertTrue(0 < count($response->getMessages())); + $this->assertNotNull($response->getMessages()); foreach ($response->getMessages() as $message) { @@ -173,7 +173,7 @@ public function testDecryptPaymentData() $this->assertEquals("Ok", $response->getMessages()->getResultCode()); //$this->assertEquals($response->getRefId(), $refId); - $this->assertTrue(0 < count($response->getMessages())); + $this->assertNotNull($response->getMessages()); foreach ($response->getMessages() as $message) { $this->assertEquals("I00001", $message->getCode()); diff --git a/tests/net/authorize/api/controller/CreateTransactionControllerTest.php b/tests/net/authorize/api/controller/CreateTransactionControllerTest.php index e6af892e..9f1e5619 100644 --- a/tests/net/authorize/api/controller/CreateTransactionControllerTest.php +++ b/tests/net/authorize/api/controller/CreateTransactionControllerTest.php @@ -44,7 +44,7 @@ public function testCreateTransactionCreditCard() } $this->assertEquals("Ok", $response->getMessages()->getResultCode()); $this->assertEquals( $this->refId, $response->getRefId()); - $this->assertTrue(0 < count($response->getMessages())); + $this->assertNotNull($response->getMessages()); foreach ($response->getMessages() as $message) { $this->assertEquals("I00001", $message->getCode()); @@ -88,7 +88,7 @@ public function testCreateTransactionPayPal() else { $this->assertEquals("Ok", $response->getMessages()->getResultCode()); - $this->assertTrue(0 < count($response->getMessages())); + $this->assertNotNull($response->getMessages()); foreach ($response->getMessages() as $message) { $this->assertEquals("I00001", $message->getCode()); diff --git a/tests/net/authorize/api/controller/LogoutControllerTest.php b/tests/net/authorize/api/controller/LogoutControllerTest.php index 284cb53c..fde033fd 100644 --- a/tests/net/authorize/api/controller/LogoutControllerTest.php +++ b/tests/net/authorize/api/controller/LogoutControllerTest.php @@ -26,7 +26,7 @@ public function testLogout() $this->assertEquals("Ok", $response->getMessages()->getResultCode()); $this->assertEquals( $this->refId, $response->getRefId()); - $this->assertTrue(0 < count($response->getMessages())); + $this->assertNotNull($response->getMessages()); foreach ($response->getMessages() as $message) { $this->assertEquals("I00001", $message->getCode());