@@ -635,11 +635,11 @@ public function setCommunicationFormat($communicationFormat)
635635 {
636636 $ allowedValues = $ this ->getCommunicationFormatAllowableValues ();
637637 if (!in_array ($ communicationFormat , $ allowedValues , true )) {
638- throw new \ InvalidArgumentException (
638+ error_log (
639639 sprintf (
640- "Invalid value '%s' for 'communicationFormat', must be one of '%s' " ,
640+ "communicationFormat: unexpected enum value '%s' - Supported values are [%s] " ,
641641 $ communicationFormat ,
642- implode (" ', ' " , $ allowedValues )
642+ implode (', ' , $ allowedValues )
643643 )
644644 );
645645 }
@@ -693,11 +693,11 @@ public function setEncryptionProtocol($encryptionProtocol)
693693 {
694694 $ allowedValues = $ this ->getEncryptionProtocolAllowableValues ();
695695 if (!in_array ($ encryptionProtocol , $ allowedValues , true )) {
696- throw new \ InvalidArgumentException (
696+ error_log (
697697 sprintf (
698- "Invalid value '%s' for 'encryptionProtocol', must be one of '%s' " ,
698+ "encryptionProtocol: unexpected enum value '%s' - Supported values are [%s] " ,
699699 $ encryptionProtocol ,
700- implode (" ', ' " , $ allowedValues )
700+ implode (', ' , $ allowedValues )
701701 )
702702 );
703703 }
@@ -727,11 +727,11 @@ public function setFilterMerchantAccountType($filterMerchantAccountType)
727727 {
728728 $ allowedValues = $ this ->getFilterMerchantAccountTypeAllowableValues ();
729729 if (!in_array ($ filterMerchantAccountType , $ allowedValues , true )) {
730- throw new \ InvalidArgumentException (
730+ error_log (
731731 sprintf (
732- "Invalid value '%s' for 'filterMerchantAccountType', must be one of '%s' " ,
732+ "filterMerchantAccountType: unexpected enum value '%s' - Supported values are [%s] " ,
733733 $ filterMerchantAccountType ,
734- implode (" ', ' " , $ allowedValues )
734+ implode (', ' , $ allowedValues )
735735 )
736736 );
737737 }
@@ -785,11 +785,11 @@ public function setNetworkType($networkType)
785785 {
786786 $ allowedValues = $ this ->getNetworkTypeAllowableValues ();
787787 if (!in_array ($ networkType , $ allowedValues , true )) {
788- throw new \ InvalidArgumentException (
788+ error_log (
789789 sprintf (
790- "Invalid value '%s' for 'networkType', must be one of '%s' " ,
790+ "networkType: unexpected enum value '%s' - Supported values are [%s] " ,
791791 $ networkType ,
792- implode (" ', ' " , $ allowedValues )
792+ implode (', ' , $ allowedValues )
793793 )
794794 );
795795 }
0 commit comments