Class: Workarea::GlobalE::UpdateOrderDispatchException

Inherits:
Object
  • Object
show all
Defined in:
app/services/workarea/global_e/update_order_dispatch_exception.rb

Instance Method Summary collapse

Instance Method Details

#cart_item_idString

Identifier of the cart item on the Merchant’s site. This property may be optionally specified in SendCart method only, so that the same value could be posted back when creating the order on the Merchant’s site with SendOrderToMerchant method. NOTE either CartItemId or ProductCode should be specified. This property is mandatory only if ProductCode property has not been specified.

Returns:

  • (String)


13
14
# File 'app/services/workarea/global_e/update_order_dispatch_exception.rb', line 13

def cart_item_id
end

#exception_typeInteger

One of the following possible values of ExceptionTypes enumeration:

| ExceptionType | Name | Description |


| 1 | Out Of Stock | Out of stock, will not be fulfilled. | | 2 | Backorder Preorder Customized Item | Backorder/preorder/customized item, will be fulfilled. |

Returns:

  • (Integer)


42
43
# File 'app/services/workarea/global_e/update_order_dispatch_exception.rb', line 42

def exception_type
end

#expected_fulfillment_dateString

Expected date for backordered/preordered/customized item to be fulfilled (in YYYY-MM-DD format).

Returns:

  • (String)


30
31
# File 'app/services/workarea/global_e/update_order_dispatch_exception.rb', line 30

def expected_fulfillment_date
end

#product_codeString

Product unique identifier on the Merchant’s site. NOTE either CartItemId or ProductCode should be specified. This property is mandatory only if CartItemId property has not been specified.

Returns:

  • (String)


22
23
# File 'app/services/workarea/global_e/update_order_dispatch_exception.rb', line 22

def product_code
end