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