Class: ErpIntegration::CustomerShipment

Inherits:
Resource
  • Object
show all
Defined in:
lib/erp_integration/customer_shipment.rb

Overview

The ‘ErpIntegration::CustomerShipment` exposes an uniformed API for interaction with third-party ERP vendors.

Instance Attribute Summary collapse

Attributes inherited from Resource

#raw_api_response

Instance Method Summary collapse

Methods inherited from Resource

adapter, adapter_klass, adapter_path, adapter_type, #assign_attributes, #initialize, #method_missing, resource_name, respond_to_missing?

Methods included from Resources::Persistence

#destroy, included, #persisted?, #update

Methods included from Resources::Validations

#errors, #valid?, #validate_with

Constructor Details

This class inherits a constructor from ErpIntegration::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ErpIntegration::Resource

Instance Attribute Details

#acknowledged_by_3pl_atObject

Returns the value of attribute acknowledged_by_3pl_at.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def acknowledged_by_3pl_at
  @acknowledged_by_3pl_at
end

#aes_itnObject

Returns the value of attribute aes_itn.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def aes_itn
  @aes_itn
end

#assigned_byObject

Returns the value of attribute assigned_by.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def assigned_by
  @assigned_by
end

#assigned_timeObject

Returns the value of attribute assigned_time.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def assigned_time
  @assigned_time
end

#attachmentsObject

Returns the value of attribute attachments.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def attachments
  @attachments
end

#available_carrier_servicesObject

Returns the value of attribute available_carrier_services.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def available_carrier_services
  @available_carrier_services
end

#avg_cycle_timeObject

Returns the value of attribute avg_cycle_time.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def avg_cycle_time
  @avg_cycle_time
end

#avg_cycle_time_cacheObject

Returns the value of attribute avg_cycle_time_cache.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def avg_cycle_time_cache
  @avg_cycle_time_cache
end

#carrierObject

Returns the value of attribute carrier.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def carrier
  @carrier
end

#carrier_billing_accountObject

Returns the value of attribute carrier_billing_account.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def 
  @carrier_billing_account
end

#carrier_cost_methodObject

Returns the value of attribute carrier_cost_method.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def carrier_cost_method
  @carrier_cost_method
end

#carrier_duties_accountObject

Returns the value of attribute carrier_duties_account.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def 
  @carrier_duties_account
end

#carrier_serviceObject

Returns the value of attribute carrier_service.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def carrier_service
  @carrier_service
end

#channel_carrier_service_codeObject

Returns the value of attribute channel_carrier_service_code.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def channel_carrier_service_code
  @channel_carrier_service_code
end

#channel_logo_urlObject

Returns the value of attribute channel_logo_url.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def channel_logo_url
  @channel_logo_url
end

#channelsObject

Returns the value of attribute channels.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def channels
  @channels
end

#checklistsObject

Returns the value of attribute checklists.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def checklists
  @checklists
end

#companyObject

Returns the value of attribute company.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def company
  @company
end

#consumable_movesObject

Returns the value of attribute consumable_moves.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def consumable_moves
  @consumable_moves
end

#consumables_costObject

Returns the value of attribute consumables_cost.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def consumables_cost
  @consumables_cost
end

#consumables_cost_cacheObject

Returns the value of attribute consumables_cost_cache.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def consumables_cost_cache
  @consumables_cost_cache
end

#contact_categoriesObject

Returns the value of attribute contact_categories.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def contact_categories
  @contact_categories
end

#contents_explanationObject

Returns the value of attribute contents_explanation.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def contents_explanation
  @contents_explanation
end

#contents_typeObject

Returns the value of attribute contents_type.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def contents_type
  @contents_type
end

#costObject

Returns the value of attribute cost.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def cost
  @cost
end

#cost_currencyObject

Returns the value of attribute cost_currency.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def cost_currency
  @cost_currency
end

#cost_currency_digitsObject

Returns the value of attribute cost_currency_digits.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def cost_currency_digits
  @cost_currency_digits
end

#cost_invoice_lineObject

Returns the value of attribute cost_invoice_line.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def cost_invoice_line
  @cost_invoice_line
end

#create_dateObject

Returns the value of attribute create_date.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def create_date
  @create_date
end

#create_return_labelObject

Returns the value of attribute create_return_label.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def create_return_label
  @create_return_label
end

#create_uidObject

Returns the value of attribute create_uid.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def create_uid
  @create_uid
end

#customerObject

Returns the value of attribute customer.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def customer
  @customer
end

#customer_locationObject

Returns the value of attribute customer_location.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def customer_location
  @customer_location
end

#customs_itemsObject

Returns the value of attribute customs_items.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def customs_items
  @customs_items
end

#default_box_typeObject

Returns the value of attribute default_box_type.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def default_box_type
  @default_box_type
end

#delivery_addressObject

Returns the value of attribute delivery_address.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def delivery_address
  @delivery_address
end

#delivery_address_datetimeObject

Returns the value of attribute delivery_address_datetime.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def delivery_address_datetime
  @delivery_address_datetime
end

#delivery_modeObject

Returns the value of attribute delivery_mode.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def delivery_mode
  @delivery_mode
end

#done_byObject

Returns the value of attribute done_by.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def done_by
  @done_by
end

#duties_tax_idObject

Returns the value of attribute duties_tax_id.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def duties_tax_id
  @duties_tax_id
end

#duties_tax_id_typeObject

Returns the value of attribute duties_tax_id_type.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def duties_tax_id_type
  @duties_tax_id_type
end

#eel_pfcObject

Returns the value of attribute eel_pfc.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def eel_pfc
  @eel_pfc
end

#effective_dateObject

Returns the value of attribute effective_date.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def effective_date
  @effective_date
end

#eori_numberObject

Returns the value of attribute eori_number.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def eori_number
  @eori_number
end

#fedex_saturday_deliveryObject

Returns the value of attribute fedex_saturday_delivery.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def fedex_saturday_delivery
  @fedex_saturday_delivery
end

#full_delivery_addressObject

Returns the value of attribute full_delivery_address.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def full_delivery_address
  @full_delivery_address
end

#gift_messageObject

Returns the value of attribute gift_message.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def gift_message
  @gift_message
end

#has_gift_messageObject

Returns the value of attribute has_gift_message.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def has_gift_message
  @has_gift_message
end

#hold_reasonObject

Returns the value of attribute hold_reason.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def hold_reason
  @hold_reason
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def id
  @id
end

#incotermObject

Returns the value of attribute incoterm.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def incoterm
  @incoterm
end

#insurance_amountObject

Returns the value of attribute insurance_amount.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def insurance_amount
  @insurance_amount
end

#inventory_movesObject

Returns the value of attribute inventory_moves.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def inventory_moves
  @inventory_moves
end

#invoicesObject

Returns the value of attribute invoices.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def invoices
  @invoices
end

#is_international_shippingObject

Returns the value of attribute is_international_shipping.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def is_international_shipping
  @is_international_shipping
end

#is_shippoObject

Returns the value of attribute is_shippo.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def is_shippo
  @is_shippo
end

#last_modificationObject

Returns the value of attribute last_modification.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def last_modification
  @last_modification
end

#license_platesObject

Returns the value of attribute license_plates.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def license_plates
  @license_plates
end

#messagesObject

Returns the value of attribute messages.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def messages
  @messages
end

#metadataObject

Returns the value of attribute metadata.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def 
  @metadata
end

#movesObject

Returns the value of attribute moves.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def moves
  @moves
end

#non_delivery_optionObject

Returns the value of attribute non_delivery_option.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def non_delivery_option
  @non_delivery_option
end

#numberObject

Returns the value of attribute number.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def number
  @number
end

#on_holdObject

Returns the value of attribute on_hold.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def on_hold
  @on_hold
end

#on_hold_untilObject

Returns the value of attribute on_hold_until.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def on_hold_until
  @on_hold_until
end

#order_confirmation_timeObject

Returns the value of attribute order_confirmation_time.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def order_confirmation_time
  @order_confirmation_time
end

#order_numbersObject

Returns the value of attribute order_numbers.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def order_numbers
  @order_numbers
end

#originsObject

Returns the value of attribute origins.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def origins
  @origins
end

#outgoing_movesObject

Returns the value of attribute outgoing_moves.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def outgoing_moves
  @outgoing_moves
end

#packagesObject

Returns the value of attribute packages.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def packages
  @packages
end

#packed_atObject

Returns the value of attribute packed_at.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def packed_at
  @packed_at
end

#packed_byObject

Returns the value of attribute packed_by.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def packed_by
  @packed_by
end

#packed_dateObject

Returns the value of attribute packed_date.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def packed_date
  @packed_date
end

#packerObject

Returns the value of attribute packer.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def packer
  @packer
end

#payment_statusObject

Returns the value of attribute payment_status.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def payment_status
  @payment_status
end

#payment_transactionsObject

Returns the value of attribute payment_transactions.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def payment_transactions
  @payment_transactions
end

#picked_atObject

Returns the value of attribute picked_at.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def picked_at
  @picked_at
end

#picked_dateObject

Returns the value of attribute picked_date.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def picked_date
  @picked_date
end

#pickerObject

Returns the value of attribute picker.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def picker
  @picker
end

#picking_started_atObject

Returns the value of attribute picking_started_at.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def picking_started_at
  @picking_started_at
end

#picking_statusObject

Returns the value of attribute picking_status.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def picking_status
  @picking_status
end

#planned_dateObject

Returns the value of attribute planned_date.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def planned_date
  @planned_date
end

#planned_datetimeObject

Returns the value of attribute planned_datetime.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def planned_datetime
  @planned_datetime
end

#planned_timeObject

Returns the value of attribute planned_time.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def planned_time
  @planned_time
end

#priorityObject

Returns the value of attribute priority.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def priority
  @priority
end

#private_notesObject

Returns the value of attribute private_notes.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def private_notes
  @private_notes
end

#productionsObject

Returns the value of attribute productions.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def productions
  @productions
end

#public_notesObject

Returns the value of attribute public_notes.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def public_notes
  @public_notes
end

#rec_blurbObject

Returns the value of attribute rec_blurb.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def rec_blurb
  @rec_blurb
end

#rec_nameObject

Returns the value of attribute rec_name.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def rec_name
  @rec_name
end

#referenceObject

Returns the value of attribute reference.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def reference
  @reference
end

#request_confirmationObject

Returns the value of attribute request_confirmation.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def request_confirmation
  @request_confirmation
end

#requested_delivery_dateObject

Returns the value of attribute requested_delivery_date.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def requested_delivery_date
  @requested_delivery_date
end

#requested_shipping_serviceObject

Returns the value of attribute requested_shipping_service.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def requested_shipping_service
  @requested_shipping_service
end

#require_customsObject

Returns the value of attribute require_customs.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def require_customs
  @require_customs
end

#root_packagesObject

Returns the value of attribute root_packages.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def root_packages
  @root_packages
end

#sale_dateObject

Returns the value of attribute sale_date.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def sale_date
  @sale_date
end

#salesObject

Returns the value of attribute sales.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def sales
  @sales
end

#sent_to_3pl_atObject

Returns the value of attribute sent_to_3pl_at.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def sent_to_3pl_at
  @sent_to_3pl_at
end

#shipped_atObject

Returns the value of attribute shipped_at.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def shipped_at
  @shipped_at
end

#shipperObject

Returns the value of attribute shipper.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def shipper
  @shipper
end

#shipping_batchObject

Returns the value of attribute shipping_batch.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def shipping_batch
  @shipping_batch
end

#shipping_instructionsObject

Returns the value of attribute shipping_instructions.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def shipping_instructions
  @shipping_instructions
end

#shipping_label_dateObject

Returns the value of attribute shipping_label_date.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def shipping_label_date
  @shipping_label_date
end

#shipping_label_printedObject

Returns the value of attribute shipping_label_printed.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def shipping_label_printed
  @shipping_label_printed
end

#shipping_manifestObject

Returns the value of attribute shipping_manifest.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def shipping_manifest
  @shipping_manifest
end

#sscc_codeObject

Returns the value of attribute sscc_code.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def sscc_code
  @sscc_code
end

#stateObject

Returns the value of attribute state.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def state
  @state
end

#tax_idObject

Returns the value of attribute tax_id.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def tax_id
  @tax_id
end

#total_amount_ccyObject

Returns the value of attribute total_amount_ccy.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def total_amount_ccy
  @total_amount_ccy
end

#total_costObject

Returns the value of attribute total_cost.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def total_cost
  @total_cost
end

#total_customs_valueObject

Returns the value of attribute total_customs_value.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def total_customs_value
  @total_customs_value
end

#total_item_cost_ccyObject

Returns the value of attribute total_item_cost_ccy.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def total_item_cost_ccy
  @total_item_cost_ccy
end

#total_quantityObject

Returns the value of attribute total_quantity.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def total_quantity
  @total_quantity
end

#tplObject

Returns the value of attribute tpl.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def tpl
  @tpl
end

#tpl_statusObject

Returns the value of attribute tpl_status.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def tpl_status
  @tpl_status
end

#tracking_export_statusObject

Returns the value of attribute tracking_export_status.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def tracking_export_status
  @tracking_export_status
end

#tracking_numberObject

Returns the value of attribute tracking_number.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def tracking_number
  @tracking_number
end

#tracking_number_blurbObject

Returns the value of attribute tracking_number_blurb.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def tracking_number_blurb
  @tracking_number_blurb
end

#tsvObject

Returns the value of attribute tsv.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def tsv
  @tsv
end

#ups_saturday_deliveryObject

Returns the value of attribute ups_saturday_delivery.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def ups_saturday_delivery
  @ups_saturday_delivery
end

#warehouseObject

Returns the value of attribute warehouse.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def warehouse
  @warehouse
end

#warehouse_outputObject

Returns the value of attribute warehouse_output.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def warehouse_output
  @warehouse_output
end

#warehouse_storageObject

Returns the value of attribute warehouse_storage.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def warehouse_storage
  @warehouse_storage
end

#weightObject

Returns the value of attribute weight.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def weight
  @weight
end

#weight_digitsObject

Returns the value of attribute weight_digits.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def weight_digits
  @weight_digits
end

#weight_uomObject

Returns the value of attribute weight_uom.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def weight_uom
  @weight_uom
end

#weight_uom_symbolObject

Returns the value of attribute weight_uom_symbol.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def weight_uom_symbol
  @weight_uom_symbol
end

#write_dateObject

Returns the value of attribute write_date.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def write_date
  @write_date
end

#write_uidObject

Returns the value of attribute write_uid.



7
8
9
# File 'lib/erp_integration/customer_shipment.rb', line 7

def write_uid
  @write_uid
end

Instance Method Details

#mark_as_packed!Object



41
42
43
# File 'lib/erp_integration/customer_shipment.rb', line 41

def mark_as_packed!
  self.class.adapter.mark_as_packed!(id)
end

#move_to(*warehouse_ids) ⇒ Object

Parameters:

  • warehouse_ids (Array<Integer>, Integer)

    The warehouse(s) to move the shipment to



33
34
35
# File 'lib/erp_integration/customer_shipment.rb', line 33

def move_to(*warehouse_ids)
  self.class.adapter.change_warehouse(id, *warehouse_ids)
end

#split(options) ⇒ Object



37
38
39
# File 'lib/erp_integration/customer_shipment.rb', line 37

def split(options)
  self.class.adapter.split(id, options)
end