GetListLookupParams

The WooCommerce EU VAT Assistant GetListLookupParams function.

Description

GetListLookupParams(); 

Usage

  1. if ( !function_exists( 'GetListLookupParams' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-eu-vat-assistant/src/vendor/codecasts/nusoap-php7/samples/wsdlclient12.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = GetListLookupParams(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/src/vendor/codecasts/nusoap-php7/samples/wsdlclient12.php  
  1. function GetListLookupParams() { 
  2. global $SubscriptionId; 
  3.  
  4. $listLookupRequest[] = array( 
  5. 'ListId' => '1L0ZL7Y9FL4U0',  
  6. 'ListType' => 'WishList',  
  7. 'ProductPage' => 1,  
  8. 'ResponseGroup' => 'ListFull',  
  9. 'Sort' => 'LastUpdated' 
  10. ); 
  11.  
  12. $listLookupRequest[] = array( 
  13. 'ListId' => '1L0ZL7Y9FL4U0',  
  14. 'ListType' => 'WishList',  
  15. 'ProductPage' => 2,  
  16. 'ResponseGroup' => 'ListFull',  
  17. 'Sort' => 'LastUpdated' 
  18. ); 
  19. /** 
  20. // two lookup maximum 
  21. $listLookupRequest[] = array( 
  22. 'ListId' => '1L0ZL7Y9FL4U0',  
  23. 'ListType' => 'WishList',  
  24. 'ProductPage' => 3,  
  25. 'ResponseGroup' => 'ListFull',  
  26. 'Sort' => 'LastUpdated' 
  27. ); 
  28. */  
  29. $listLookup = array( 
  30. 'SubscriptionId' => $SubscriptionId,  
  31. // 'AssociateTag' => '',  
  32. 'Request' => $listLookupRequest,  
  33. ); 
  34.  
  35. return $listLookup;