Sha256: 7e9d71863a35b2c396486cfeced669c346c660bc05639916664340bf17d7313a

Contents?: true

Size: 400 Bytes

Versions: 3

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true

require 'mws/orders/entity'

module MWS
  module Orders
    # https://docs.developer.amazonservices.com/en_US/orders-2013-09-01/Orders_Datatypes.html#PointsGranted
    class PointsGranted < Entity
      attribute(:number) do
        integer('PointsNumber')
      end

      attribute(:monetary_value) do
        money('PointsMonetaryValue')
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mws-orders-0.6.1 lib/mws/orders/points_granted.rb
mws-orders-0.5.1 lib/mws/orders/points_granted.rb
mws-orders-0.5.0 lib/mws/orders/points_granted.rb