Class: HermesAPI::PickupReturnLabel

Inherits:
Base
  • Object
show all
Includes:
ReturnLabelHelper
Defined in:
lib/hermes_api/resources/pickup_return_label.rb

Constant Summary collapse

DEFAULT_ATTRS =
{
  client_id: "",
  client_name: "",
  child_client_id: "",
  child_client_name: "",
  source_of_request: "",
  collection_routing_request_entries: [{
    customer: {
      address: {
        first_name: "",
        last_name: "",
        house_name: "",
        street_name: "",
        address_line1: "",
        post_code: "",
        city: "",
        region: "",
        country_code: ""
      },
      parcel: {
        weight: 1,
        length: 10,
        width: 10,
        depth: 10,
        girth: 0,
        combined_dimension: 0,
        volume: 0,
        value: 10,
        description: "Parcel"
      },
      mobile_phone_no: "",
      email: "",
      customer_reference1: ""
    },
    country_of_origin: ""
  }]
}

Method Summary

Methods included from ReturnLabelHelper

included, #labels, #tracking_numbers

Methods inherited from Base

#initialize, #load, root, #to_xml, with_session

Constructor Details

This class inherits a constructor from HermesAPI::Base