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.24.0 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.23.0 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.22.1 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.22.0 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.21.1 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.21.0 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.20.3 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.20.2 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.20.1 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.20.0 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.19.0 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.18.3 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.18.2 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.18.1 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.18.0 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.17.2 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.17.1 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.17.0 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.16.0 lib/gotransverse-tract-api/order/discount_configuration.rb
gotransverse-tract-api-0.15.0 lib/gotransverse-tract-api/order/discount_configuration.rb