Sha256: 7cead9aa81a9bc89daf6f61cddf2f611ea7b77a1bc2dd0693928ec023b62f628

Contents?: true

Size: 613 Bytes

Versions: 1

Compression:

Stored size: 613 Bytes

Contents

module Falsify
  # An amount allocated by discount applications.
  # Each discount allocation is associated to a particular discount application.
  class DiscountAllocation
    # The discount amount allocated to the line in the shop currency.
    # @return [String]
    attr_accessor :amount
    # The index of the associated discount application in the order's discount_applications list.
    # @return [String]
    attr_accessor :discount_application_index
    # The discount amount allocated to the line item in shop and presentment currencies.
    # @return [PriceSet]
    attr_accessor :amount_set
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
falsify-0.1.0 lib/falsify/models/order/discount_allocation.rb