Sha256: 6a601aac135ecb8091c7f61615997b8a3bb62cf79c44cfeeec0e7804993c05f3
Contents?: true
Size: 1.11 KB
Versions: 2
Compression:
Stored size: 1.11 KB
Contents
# frozen_string_literal: true require_relative '../shipping_address/deserializer' module Desertcart module Marketplace class OrderItem class Deserializer < Desertcart::Deserializer id attribute :name attribute :store_uid attribute :store_id attribute :order_reference attribute :offer_reference attribute :merchant_id attribute :currency_code attribute :price attribute :title attribute :state attribute :marketplace_shipping_state attribute :reason_for_rejection attribute :checkin_condition attribute :shipment_movement_id attribute :seller_reference_number attribute :seller_notes attribute :order_placed_at attribute :acceptance_expiration_at attribute :estimated_delivery_date attribute :accepted_at attribute :purchase_order attribute :note references_one :shipping_address, hash_attribute: 'shipping_address', deserializer: ShippingAddress::Deserializer end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
desertcart-1.1.0 | lib/desertcart/marketplace/order_item/deserializer.rb |
desertcart-1.0.0 | lib/desertcart/marketplace/order_item/deserializer.rb |