PATH:
home
/
lab2454c
/
costbloc.com
/
vendor
/
authorizenet
/
authorizenet
/
lib
/
net
/
authorize
/
api
/
contract
/
v1
<?php namespace net\authorize\api\contract\v1; /** * Class representing GetMerchantDetailsResponse */ class GetMerchantDetailsResponse extends ANetApiResponseType { /** * @property boolean $isTestMode */ private $isTestMode = null; /** * @property \net\authorize\api\contract\v1\ProcessorType[] $processors */ private $processors = null; /** * @property string $merchantName */ private $merchantName = null; /** * @property string $gatewayId */ private $gatewayId = null; /** * @property string[] $marketTypes */ private $marketTypes = null; /** * @property string[] $productCodes */ private $productCodes = null; /** * @property string[] $paymentMethods */ private $paymentMethods = null; /** * @property string[] $currencies */ private $currencies = null; /** * @property string $publicClientKey */ private $publicClientKey = null; /** * @property \net\authorize\api\contract\v1\CustomerAddressType * $businessInformation */ private $businessInformation = null; /** * @property string $merchantTimeZone */ private $merchantTimeZone = null; /** * @property \net\authorize\api\contract\v1\ContactDetailType[] $contactDetails */ private $contactDetails = null; /** * Gets as isTestMode * * @return boolean */ public function getIsTestMode() { return $this->isTestMode; } /** * Sets a new isTestMode * * @param boolean $isTestMode * @return self */ public function setIsTestMode($isTestMode) { $this->isTestMode = $isTestMode; return $this; } /** * Adds as processor * * @return self * @param \net\authorize\api\contract\v1\ProcessorType $processor */ public function addToProcessors(\net\authorize\api\contract\v1\ProcessorType $processor) { $this->processors[] = $processor; return $this; } /** * isset processors * * @param scalar $index * @return boolean */ public function issetProcessors($index) { return isset($this->processors[$index]); } /** * unset processors * * @param scalar $index * @return void */ public function unsetProcessors($index) { unset($this->processors[$index]); } /** * Gets as processors * * @return \net\authorize\api\contract\v1\ProcessorType[] */ public function getProcessors() { return $this->processors; } /** * Sets a new processors * * @param \net\authorize\api\contract\v1\ProcessorType[] $processors * @return self */ public function setProcessors(array $processors) { $this->processors = $processors; return $this; } /** * Gets as merchantName * * @return string */ public function getMerchantName() { return $this->merchantName; } /** * Sets a new merchantName * * @param string $merchantName * @return self */ public function setMerchantName($merchantName) { $this->merchantName = $merchantName; return $this; } /** * Gets as gatewayId * * @return string */ public function getGatewayId() { return $this->gatewayId; } /** * Sets a new gatewayId * * @param string $gatewayId * @return self */ public function setGatewayId($gatewayId) { $this->gatewayId = $gatewayId; return $this; } /** * Adds as marketType * * @return self * @param string $marketType */ public function addToMarketTypes($marketType) { $this->marketTypes[] = $marketType; return $this; } /** * isset marketTypes * * @param scalar $index * @return boolean */ public function issetMarketTypes($index) { return isset($this->marketTypes[$index]); } /** * unset marketTypes * * @param scalar $index * @return void */ public function unsetMarketTypes($index) { unset($this->marketTypes[$index]); } /** * Gets as marketTypes * * @return string[] */ public function getMarketTypes() { return $this->marketTypes; } /** * Sets a new marketTypes * * @param string $marketTypes * @return self */ public function setMarketTypes(array $marketTypes) { $this->marketTypes = $marketTypes; return $this; } /** * Adds as productCode * * @return self * @param string $productCode */ public function addToProductCodes($productCode) { $this->productCodes[] = $productCode; return $this; } /** * isset productCodes * * @param scalar $index * @return boolean */ public function issetProductCodes($index) { return isset($this->productCodes[$index]); } /** * unset productCodes * * @param scalar $index * @return void */ public function unsetProductCodes($index) { unset($this->productCodes[$index]); } /** * Gets as productCodes * * @return string[] */ public function getProductCodes() { return $this->productCodes; } /** * Sets a new productCodes * * @param string $productCodes * @return self */ public function setProductCodes(array $productCodes) { $this->productCodes = $productCodes; return $this; } /** * Adds as paymentMethod * * @return self * @param string $paymentMethod */ public function addToPaymentMethods($paymentMethod) { $this->paymentMethods[] = $paymentMethod; return $this; } /** * isset paymentMethods * * @param scalar $index * @return boolean */ public function issetPaymentMethods($index) { return isset($this->paymentMethods[$index]); } /** * unset paymentMethods * * @param scalar $index * @return void */ public function unsetPaymentMethods($index) { unset($this->paymentMethods[$index]); } /** * Gets as paymentMethods * * @return string[] */ public function getPaymentMethods() { return $this->paymentMethods; } /** * Sets a new paymentMethods * * @param string $paymentMethods * @return self */ public function setPaymentMethods(array $paymentMethods) { $this->paymentMethods = $paymentMethods; return $this; } /** * Adds as currency * * @return self * @param string $currency */ public function addToCurrencies($currency) { $this->currencies[] = $currency; return $this; } /** * isset currencies * * @param scalar $index * @return boolean */ public function issetCurrencies($index) { return isset($this->currencies[$index]); } /** * unset currencies * * @param scalar $index * @return void */ public function unsetCurrencies($index) { unset($this->currencies[$index]); } /** * Gets as currencies * * @return string[] */ public function getCurrencies() { return $this->currencies; } /** * Sets a new currencies * * @param string $currencies * @return self */ public function setCurrencies(array $currencies) { $this->currencies = $currencies; return $this; } /** * Gets as publicClientKey * * @return string */ public function getPublicClientKey() { return $this->publicClientKey; } /** * Sets a new publicClientKey * * @param string $publicClientKey * @return self */ public function setPublicClientKey($publicClientKey) { $this->publicClientKey = $publicClientKey; return $this; } /** * Gets as businessInformation * * @return \net\authorize\api\contract\v1\CustomerAddressType */ public function getBusinessInformation() { return $this->businessInformation; } /** * Sets a new businessInformation * * @param \net\authorize\api\contract\v1\CustomerAddressType $businessInformation * @return self */ public function setBusinessInformation(\net\authorize\api\contract\v1\CustomerAddressType $businessInformation) { $this->businessInformation = $businessInformation; return $this; } /** * Gets as merchantTimeZone * * @return string */ public function getMerchantTimeZone() { return $this->merchantTimeZone; } /** * Sets a new merchantTimeZone * * @param string $merchantTimeZone * @return self */ public function setMerchantTimeZone($merchantTimeZone) { $this->merchantTimeZone = $merchantTimeZone; return $this; } /** * Adds as contactDetail * * @return self * @param \net\authorize\api\contract\v1\ContactDetailType $contactDetail */ public function addToContactDetails(\net\authorize\api\contract\v1\ContactDetailType $contactDetail) { $this->contactDetails[] = $contactDetail; return $this; } /** * isset contactDetails * * @param scalar $index * @return boolean */ public function issetContactDetails($index) { return isset($this->contactDetails[$index]); } /** * unset contactDetails * * @param scalar $index * @return void */ public function unsetContactDetails($index) { unset($this->contactDetails[$index]); } /** * Gets as contactDetails * * @return \net\authorize\api\contract\v1\ContactDetailType[] */ public function getContactDetails() { return $this->contactDetails; } /** * Sets a new contactDetails * * @param \net\authorize\api\contract\v1\ContactDetailType[] $contactDetails * @return self */ public function setContactDetails(array $contactDetails) { $this->contactDetails = $contactDetails; return $this; } // Json Set Code public function set($data) { if(is_array($data) || is_object($data)) { $mapper = \net\authorize\util\Mapper::Instance(); foreach($data AS $key => $value) { $classDetails = $mapper->getClass(get_class() , $key); if($classDetails !== NULL ) { if ($classDetails->isArray) { if ($classDetails->isCustomDefined) { foreach($value AS $keyChild => $valueChild) { $type = new $classDetails->className; $type->set($valueChild); $this->{'addTo' . $key}($type); } } else if ($classDetails->className === 'DateTime' || $classDetails->className === 'Date' ) { foreach($value AS $keyChild => $valueChild) { $type = new \DateTime($valueChild); $this->{'addTo' . $key}($type); } } else { foreach($value AS $keyChild => $valueChild) { $this->{'addTo' . $key}($valueChild); } } } else { if ($classDetails->isCustomDefined){ $type = new $classDetails->className; $type->set($value); $this->{'set' . $key}($type); } else if ($classDetails->className === 'DateTime' || $classDetails->className === 'Date' ) { $type = new \DateTime($value); $this->{'set' . $key}($type); } else { $this->{'set' . $key}($value); } } } } } } }
[+]
..
[-] CreditCardSimpleType.php
[edit]
[-] SubscriptionCustomerProfileType.php
[edit]
[-] OrderExType.php
[edit]
[-] UserFieldType.php
[edit]
[-] DeleteCustomerPaymentProfileRequest.php
[edit]
[-] GetHostedPaymentPageRequest.php
[edit]
[-] DeleteCustomerShippingAddressRequest.php
[edit]
[-] CreditCardType.php
[edit]
[-] PaymentDetailsType.php
[edit]
[-] ProfileTransAuthOnlyType.php
[edit]
[-] SubMerchantType.php
[edit]
[-] ARBGetSubscriptionListResponse.php
[edit]
[-] DecryptPaymentDataResponse.php
[edit]
[-] ARBGetSubscriptionStatusRequest.php
[edit]
[-] KeyValueType.php
[edit]
[-] GetSettledBatchListResponse.php
[edit]
[-] GetMerchantDetailsResponse.php
[edit]
[-] MobileDeviceRegistrationRequest.php
[edit]
[-] IsAliveRequest.php
[edit]
[-] FraudInformationType.php
[edit]
[-] DeleteCustomerProfileRequest.php
[edit]
[-] ArbTransactionType.php
[edit]
[-] CustomerProfileSummaryType.php
[edit]
[-] ARBUpdateSubscriptionResponse.php
[edit]
[-] SubscriptionPaymentType.php
[edit]
[-] ARBSubscriptionType.php
[edit]
[-] GetAUJobSummaryRequest.php
[edit]
[-] GetAUJobDetailsResponse.php
[edit]
[-] UpdateSplitTenderGroupRequest.php
[edit]
[-] OrderType.php
[edit]
[-] GetCustomerShippingAddressRequest.php
[edit]
[-] GetTransactionDetailsResponse.php
[edit]
[-] BankAccountType.php
[edit]
[-] BatchStatisticType.php
[edit]
[-] ListOfAUDetailsType.php
[edit]
[-] GetTransactionListRequest.php
[edit]
[-] CustomerProfileType.php
[edit]
[+]
KeyManagementSchemeType
[-] CustomerProfilePaymentType.php
[edit]
[-] ErrorResponse.php
[edit]
[-] UpdateMerchantDetailsRequest.php
[edit]
[-] GetCustomerPaymentProfileResponse.php
[edit]
[-] UpdateMerchantDetailsResponse.php
[edit]
[-] BatchDetailsType.php
[edit]
[-] ARBCreateSubscriptionRequest.php
[edit]
[-] PaymentScheduleType.php
[edit]
[-] CustomerPaymentProfileMaskedType.php
[edit]
[-] UpdateHeldTransactionRequest.php
[edit]
[+]
TransactionRequestType
[-] TransRetailInfoType.php
[edit]
[-] CreateCustomerProfileTransactionResponse.php
[edit]
[-] PermissionType.php
[edit]
[-] PayPalType.php
[edit]
[-] GetHostedPaymentPageResponse.php
[edit]
[-] MessagesType.php
[edit]
[-] GetTransactionDetailsRequest.php
[edit]
[-] OpaqueDataType.php
[edit]
[+]
TransactionDetailsType
[-] UpdateSplitTenderGroupResponse.php
[edit]
[-] GetBatchStatisticsResponse.php
[edit]
[-] AuthorizationIndicatorType.php
[edit]
[-] GetCustomerProfileResponse.php
[edit]
[-] GetBatchStatisticsRequest.php
[edit]
[-] ARBGetSubscriptionListSortingType.php
[edit]
[-] GetCustomerShippingAddressResponse.php
[edit]
[-] SettingType.php
[edit]
[-] EncryptedTrackDataType.php
[edit]
[-] GetTransactionListForCustomerRequest.php
[edit]
[-] PaymentProfileType.php
[edit]
[-] CreateCustomerPaymentProfileResponse.php
[edit]
[-] GetUnsettledTransactionListResponse.php
[edit]
[-] ARBSubscriptionMaskedType.php
[edit]
[-] ExtendedAmountType.php
[edit]
[-] ProfileTransRefundType.php
[edit]
[-] UpdateCustomerShippingAddressRequest.php
[edit]
[-] ArrayOfSettingType.php
[edit]
[-] MobileDeviceLoginResponse.php
[edit]
[-] CustomerProfileIdType.php
[edit]
[-] ProfileTransVoidType.php
[edit]
[-] UpdateCustomerShippingAddressResponse.php
[edit]
[-] CreateCustomerProfileResponse.php
[edit]
[-] CustomerAddressExType.php
[edit]
[-] MobileDeviceLoginRequest.php
[edit]
[-] ANetApiResponseType.php
[edit]
[-] GetMerchantDetailsRequest.php
[edit]
[-] TransactionResponseType.php
[edit]
[-] CustomerDataType.php
[edit]
[+]
PaymentScheduleType
[-] ProfileTransPriorAuthCaptureType.php
[edit]
[-] CcAuthenticationType.php
[edit]
[-] LogoutRequest.php
[edit]
[-] CardArtType.php
[edit]
[-] AuDetailsType.php
[edit]
[-] TransactionListSortingType.php
[edit]
[-] MerchantAuthenticationType.php
[edit]
[-] CreditCardTrackType.php
[edit]
[-] TransactionSummaryType.php
[edit]
[-] GetCustomerPaymentProfileListRequest.php
[edit]
[-] MerchantContactType.php
[edit]
[-] CustomerAddressType.php
[edit]
[-] PaymentEmvType.php
[edit]
[-] UpdateCustomerPaymentProfileRequest.php
[edit]
[-] DecryptPaymentDataRequest.php
[edit]
[-] SendCustomerTransactionReceiptResponse.php
[edit]
[-] ARBGetSubscriptionListRequest.php
[edit]
[+]
TransactionResponseType
[-] CustomerProfileMaskedType.php
[edit]
[-] ProfileTransAmountType.php
[edit]
[-] SolutionType.php
[edit]
[-] DriversLicenseMaskedType.php
[edit]
[-] ARBGetSubscriptionStatusResponse.php
[edit]
[-] CreateCustomerShippingAddressRequest.php
[edit]
[-] ProfileTransOrderType.php
[edit]
[-] GetAUJobDetailsRequest.php
[edit]
[-] SendCustomerTransactionReceiptRequest.php
[edit]
[-] CreateCustomerProfileRequest.php
[edit]
[-] CustomerPaymentProfileSortingType.php
[edit]
[-] CreditCardMaskedType.php
[edit]
[-] NameAndAddressType.php
[edit]
[-] CreateCustomerPaymentProfileRequest.php
[edit]
[-] CreateTransactionRequest.php
[edit]
[-] PaymentMaskedType.php
[edit]
[-] SecurePaymentContainerErrorType.php
[edit]
[-] UpdateCustomerPaymentProfileResponse.php
[edit]
[-] ARBCancelSubscriptionRequest.php
[edit]
[-] ProfileTransactionType.php
[edit]
[-] GetCustomerProfileIdsResponse.php
[edit]
[-] FingerPrintType.php
[edit]
[-] ImpersonationAuthenticationType.php
[edit]
[-] ProfileTransCaptureOnlyType.php
[edit]
[-] SecurePaymentContainerResponse.php
[edit]
[-] ANetApiRequestType.php
[edit]
[-] TokenMaskedType.php
[edit]
[-] EmailSettingsType.php
[edit]
[-] GetTransactionListResponse.php
[edit]
[-] UpdateCustomerProfileRequest.php
[edit]
[-] GetHostedProfilePageRequest.php
[edit]
[-] GetCustomerPaymentProfileListResponse.php
[edit]
[-] EmvTagType.php
[edit]
[-] CustomerProfileInfoExType.php
[edit]
[-] CustomerType.php
[edit]
[-] CreateTransactionResponse.php
[edit]
[-] CustomerProfileBaseType.php
[edit]
[-] GetAUJobSummaryResponse.php
[edit]
[-] ValidateCustomerPaymentProfileRequest.php
[edit]
[-] CustomerPaymentProfileListItemType.php
[edit]
[-] AuDeleteType.php
[edit]
[-] GetHostedProfilePageResponse.php
[edit]
[-] WebCheckOutDataTypeTokenType.php
[edit]
[-] AuthenticateTestRequest.php
[edit]
[-] PaymentSimpleType.php
[edit]
[-] CreateCustomerProfileTransactionRequest.php
[edit]
[-] OtherTaxType.php
[edit]
[-] ARBGetSubscriptionResponse.php
[edit]
[-] AuthenticateTestResponse.php
[edit]
[-] BankAccountMaskedType.php
[edit]
[-] CreateCustomerProfileFromTransactionRequest.php
[edit]
[-] MobileDeviceType.php
[edit]
[-] KeyBlockType.php
[edit]
[-] AuResponseType.php
[edit]
[-] SecurePaymentContainerRequest.php
[edit]
[-] WebCheckOutDataType.php
[edit]
[-] TransactionDetailsType.php
[edit]
[-] KeyManagementSchemeType.php
[edit]
[-] CustomerPaymentProfileBaseType.php
[edit]
[-] GetUnsettledTransactionListRequest.php
[edit]
[-] ProcessingOptionsType.php
[edit]
[-] FDSFilterType.php
[edit]
[-] ValidateCustomerPaymentProfileResponse.php
[edit]
[-] CustomerProfileExType.php
[edit]
[-] UpdateHeldTransactionResponse.php
[edit]
[-] UpdateCustomerProfileResponse.php
[edit]
[-] DeleteCustomerProfileResponse.php
[edit]
[-] DriversLicenseType.php
[edit]
[+]
MessagesType
[-] LogoutResponse.php
[edit]
[-] HeldTransactionRequestType.php
[edit]
[-] GetCustomerProfileRequest.php
[edit]
[-] ProcessorType.php
[edit]
[-] ARBUpdateSubscriptionRequest.php
[edit]
[-] LineItemType.php
[edit]
[-] GetCustomerPaymentProfileRequest.php
[edit]
[-] ARBCancelSubscriptionResponse.php
[edit]
[-] CustomerPaymentProfileExType.php
[edit]
[-] GetSettledBatchListRequest.php
[edit]
[-] ContactDetailType.php
[edit]
[-] CreateProfileResponseType.php
[edit]
[-] PaymentType.php
[edit]
[-] ARBCreateSubscriptionResponse.php
[edit]
[-] EnumCollection.php
[edit]
[-] SubsequentAuthInformationType.php
[edit]
[-] ARBGetSubscriptionRequest.php
[edit]
[-] IsAliveResponse.php
[edit]
[-] SubscriptionDetailType.php
[edit]
[-] GetCustomerProfileIdsRequest.php
[edit]
[-] CreateCustomerShippingAddressResponse.php
[edit]
[-] AuUpdateType.php
[edit]
[-] ProfileTransAuthCaptureType.php
[edit]
[-] DeleteCustomerShippingAddressResponse.php
[edit]
[-] ReturnedItemType.php
[edit]
[-] PagingType.php
[edit]
[-] CustomerPaymentProfileType.php
[edit]
[-] DeleteCustomerPaymentProfileResponse.php
[edit]
[-] TransactionRequestType.php
[edit]
[-] MobileDeviceRegistrationResponse.php
[edit]