Sha256: a7e68bfabe354ebedc31b32879329dbaa785b0513fdf3b0bd05b301bb2199af5

Contents?: true

Size: 460 Bytes

Versions: 9

Compression:

Stored size: 460 Bytes

Contents

module Affirm
  module Objects
    class Order
      include Virtus.model

      attribute :currency,        Integer
      attribute :tax_amount,      Integer
      attribute :shipping_amount, Integer
      attribute :total,           Integer
      attribute :discounts,       Hash[String => Discount]
      attribute :items,           Hash[String => Item]
      attribute :billing,         Billing
      attribute :shipping,        Shipping
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
affirm-ruby-1.2.0 lib/affirm/objects/order.rb
affirm-ruby-1.1.3 lib/affirm/objects/order.rb
affirm-ruby-1.1.2 lib/affirm/objects/order.rb
affirm-ruby-1.1.1 lib/affirm/objects/order.rb
affirm-ruby-1.1.0 lib/affirm/objects/order.rb
affirm-ruby-1.0.2 lib/affirm/objects/order.rb
affirm-ruby-1.0.1 lib/affirm/objects/order.rb
affirm-ruby-1.0.0 lib/affirm/objects/order.rb
affirm-ruby-0.0.1 lib/affirm/objects/order.rb