Class: DigiwinDsp::Webhooks::LogisticsUpdate
- Inherits:
-
Event
- Object
- Event
- DigiwinDsp::Webhooks::LogisticsUpdate
show all
- Defined in:
- lib/digiwin_dsp/webhooks/logistics_update.rb
Overview
Fired by DSP when a shipment changes state (handed off to carrier, delivered, etc.). See docs/dsp-specs/DSPOOFFICIAL100.yaml under “倉儲貨態更新 wms/logistics/package/update”.
Instance Attribute Summary
Attributes inherited from Event
#digi_header, #raw, #request
Instance Method Summary
collapse
Methods inherited from Event
extract_request, #initialize, parse, parse_json
Instance Method Details
#distributor_code ⇒ Object
14
|
# File 'lib/digiwin_dsp/webhooks/logistics_update.rb', line 14
def distributor_code = request["distributor_code"]
|
9
|
# File 'lib/digiwin_dsp/webhooks/logistics_update.rb', line 9
def form_no = request["form_no"]
|
#func_name ⇒ Object
10
|
# File 'lib/digiwin_dsp/webhooks/logistics_update.rb', line 10
def func_name = request["func_name"]
|
#message ⇒ Object
15
|
# File 'lib/digiwin_dsp/webhooks/logistics_update.rb', line 15
def message = request["message"]
|
#status_date ⇒ Object
11
|
# File 'lib/digiwin_dsp/webhooks/logistics_update.rb', line 11
def status_date = request["status_date"]
|
#status_time ⇒ Object
12
|
# File 'lib/digiwin_dsp/webhooks/logistics_update.rb', line 12
def status_time = request["status_time"]
|
#tracking_number ⇒ Object
13
|
# File 'lib/digiwin_dsp/webhooks/logistics_update.rb', line 13
def tracking_number = request["tracking_number"]
|