Sha256: 3b22cb2e350777400494296118db5fa8ae6031c6ce6331108872f83049b10c0d
Contents?: true
Size: 1.2 KB
Versions: 6
Compression:
Stored size: 1.2 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 :final_purchase_currency_code attribute :final_purchase_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
6 entries across 6 versions & 1 rubygems