GetItemLookupParams

The WooCommerce EU VAT Assistant GetItemLookupParams function.

Description

GetItemLookupParams(); 

Usage

  1. if ( !function_exists( 'GetItemLookupParams' ) ) { 
  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 = GetItemLookupParams(); 
  7.  

Defined (1)

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

/src/vendor/codecasts/nusoap-php7/samples/wsdlclient12.php  
  1. function GetItemLookupParams() { 
  2. global $SubscriptionId; 
  3.  
  4. $itemLookupRequest[] = array( 
  5. 'ItemId' => 'B0002IQML6',  
  6. 'IdType' => 'ASIN',  
  7. 'Condition' => 'All',  
  8. 'ResponseGroup' => 'Large' 
  9. ); 
  10.  
  11. $itemLookupRequest[] = array( 
  12. 'ItemId' => '0486411214',  
  13. 'IdType' => 'ASIN',  
  14. 'Condition' => 'New',  
  15. 'ResponseGroup' => 'Small' 
  16. ); 
  17.  
  18. $itemLookup = array( 
  19. 'SubscriptionId' => $SubscriptionId,  
  20. // 'AssociateTag' => '',  
  21. 'Request' => $itemLookupRequest,  
  22. ); 
  23.  
  24. return $itemLookup;