Module: Ruconomic::API::ProductPrice

Extended by:
WebService
Defined in:
lib/ruconomic/api/product_price.rb

Class Method Summary collapse

Class Method Details

.createHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Creates a new product price. Parameters: product: Handle for the product of the new product price. currency: Handle for the currency of the new product price. price: The price of the new product price.



84
85
86
87
88
# File 'lib/ruconomic/api/product_price.rb', line 84

def self.create
  response = invoke('ProductPrice_Create') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.create_from_dataHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Creates a new product price from a data object. Parameters: data: The data object that specifies the properties of the new product price.



12
13
14
15
16
# File 'lib/ruconomic/api/product_price.rb', line 12

def self.create_from_data
  response = invoke('ProductPrice_CreateFromData') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.create_from_data_arrayHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Creates new product prices from data objects. Parameters: dataArray: The array of data objects that specifies the properties of the new product prices.



24
25
26
27
28
# File 'lib/ruconomic/api/product_price.rb', line 24

def self.create_from_data_array
  response = invoke('ProductPrice_CreateFromDataArray') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.deleteHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Deletes a product price. Parameters: productPriceHandle: Handle for the product price.



108
109
110
111
112
# File 'lib/ruconomic/api/product_price.rb', line 108

def self.delete
  response = invoke('ProductPrice_Delete') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.find_by_product_and_currencyHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns a handle for the product price for a given product and currency. Parameters: product: Product to search for. currency: Currency to search for.



96
97
98
99
100
# File 'lib/ruconomic/api/product_price.rb', line 96

def self.find_by_product_and_currency
  response = invoke('ProductPrice_FindByProductAndCurrency') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_currencyHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets a handle for the currency of a product price. Parameters: productPriceHandle: Handle for the product price.



132
133
134
135
136
# File 'lib/ruconomic/api/product_price.rb', line 132

def self.get_currency
  response = invoke('ProductPrice_GetCurrency') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_dataHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns an product price data object for a given product price. Parameters: entityHandle: A handle for the product price.



60
61
62
63
64
# File 'lib/ruconomic/api/product_price.rb', line 60

def self.get_data
  response = invoke('ProductPrice_GetData') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_data_arrayHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Returns product price data objects for a given set of product price handles. Parameters: entityHandles: An array of the product price handles.



72
73
74
75
76
# File 'lib/ruconomic/api/product_price.rb', line 72

def self.get_data_array
  response = invoke('ProductPrice_GetDataArray') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_priceHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets the price of a product price. Parameters: productPriceHandle: Handle for the product price.



144
145
146
147
148
# File 'lib/ruconomic/api/product_price.rb', line 144

def self.get_price
  response = invoke('ProductPrice_GetPrice') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_productHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Gets a handle for the product of a product price. Parameters: productPriceHandle: Handle for the product price.



120
121
122
123
124
# File 'lib/ruconomic/api/product_price.rb', line 120

def self.get_product
  response = invoke('ProductPrice_GetProduct') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.set_priceHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Sets the price of a product price. Parameters: productPriceHandle: Handle for the product price. value: The new price of the product price.



156
157
158
159
160
# File 'lib/ruconomic/api/product_price.rb', line 156

def self.set_price
  response = invoke('ProductPrice_SetPrice') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.update_from_dataHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Updates a product price from a data object. Parameters: data: The data object.



48
49
50
51
52
# File 'lib/ruconomic/api/product_price.rb', line 48

def self.update_from_data
  response = invoke('ProductPrice_UpdateFromData') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.update_from_data_arrayHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Update product price entities from data objects. Parameters: dataArray: The array of data objects.



36
37
38
39
40
# File 'lib/ruconomic/api/product_price.rb', line 36

def self.update_from_data_array
  response = invoke('ProductPrice_UpdateFromDataArray') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end