ePages 7.21.0 - DE_EPAGES/PriceList/API/WebService/PriceListAssignmentService2.pm

Package DE_EPAGES::PriceList::API::WebService::PriceListAssignmentService2

Implements the PriceList Assignment WebService.

Base
DE_EPAGES::PriceList::API::WebService::PriceListAssignmentService

Functions

new
updateQuantityDiscounts
updateScalePrices
updateValueDiscounts

new

Creates a new web service object as a blessed hash reference and adds the values from the %Options hash.

Syntax
$Service = DE_EPAGES::PriceList::API::WebService::PriceListAssignmentService->new( %Options );
Input
%Options (hash)
user-defined values
Return
$Service (object)
web service object

updateQuantityDiscounts

WebService-Method: update Updates the quantity discounts of a list of products/pricelists.

Syntax
$SoapData = $self->updateQuantityDiscounts( $aProducts )
Input
$aProducts (ref.array.hash)
list of triples:
  • Product - object path to product
  • PriceList - object path to pricelist,
  • QuantityDiscounts - list of quantity discounts:
    • Quantity - float
    • Discount - float
    - ref.hash
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the
update status of all given products/pricelists

updateScalePrices

WebService-Method: update Updates the scale prices of a list of products/pricelists.

Syntax
$SoapData = $self->updateScalePrices( $aProducts )
Input
$aProducts (ref.array.hash)
list of triples:
  • Product - object path to product
  • PriceList - object path to pricelist,
  • ScalePrices - list of scale prices:
    • Quantity - float
    • Price - float
    - ref.hash
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the
update status of all given products/pricelists

updateValueDiscounts

WebService-Method: update Updates the value discounts of a list of products/pricelists.

Syntax
$SoapData = $self->updateValueDiscounts( $aProducts )
Input
$aProducts (ref.array.hash)
list of triples:
  • Product - object path to product
  • PriceList - object path to pricelist,
  • ValueDiscounts - list of value discounts:
    • Value - float
    • Discount - float
    - ref.hash
Return
$SoapData (SOAP::Data)
a SOAP::Data structure with the
update status of all given products/pricelists