class ShipCompliant::ChannelDetails
ShipCompliant::ChannelDetails
¶ ↑
A value object that wraps the OrderChanelDetails
node.
channel_details = sales_order.channel_details puts channel_details.order_channel #=> 'MyOrders'
Public Instance Methods
advertiser_key()
click to toggle source
Returns AdvertiserKey
.
# File lib/ship_compliant/channel_details.rb, line 16 def advertiser_key channel[:advertiser_key] end
advertiser_name()
click to toggle source
Returns AdvertiserName
.
# File lib/ship_compliant/channel_details.rb, line 21 def advertiser_name channel[:advertiser_name] end
meta()
click to toggle source
Returns Meta
.
# File lib/ship_compliant/channel_details.rb, line 26 def meta channel[:meta] end
order_channel()
click to toggle source
Returns OrderChannel
.
# File lib/ship_compliant/channel_details.rb, line 11 def order_channel channel[:order_channel] end