Sha256: 8eb01a0964b2b514377aefde9f4ddaedce32f8d27b8e3bc804fd73c11b8e25bf

Contents?: true

Size: 719 Bytes

Versions: 49

Compression:

Stored size: 719 Bytes

Contents

module GoTransverseTractApi

  module Order

    class DiscountConfiguration

      def self.get_discount_configurations discount_configurations
        disc_configurations = {
          attributes: {},
          discountConfiguration: {
            attributes: {},
            discountIdentifier: {
              eid: discount_configurations[:discount_configuration][:discount_identifier][:eid]
            }
          }
        }

        disc_configurations
      end

    end

  end

end
            #overrideAmount: discount_configurations[:override_amount],
            #overridePercentage: discount_configurations[:override_percentage],
            #overrideDuration: discount_configurations[:override_duration]

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.6.5 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.6.4 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.6.3 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.6.2 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.6.1 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.6.0 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.5.3 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.5.2 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.5.1 lib/gotransverse-tract-api/order/discount_configuration.rb