Sha256: 2c49308b0a3a8f057fac93cf96092d3ab1b0e3e78ad2c5d50872872714d05570

Contents?: true

Size: 365 Bytes

Versions: 5

Compression:

Stored size: 365 Bytes

Contents

module ActiveMerchant
  module Shipping
    class ReturnShipment < Shipment
      attr_accessor :rma_number
      attr_reader :return_type
      def initialize(opts = {})
        super
        self.rma_number = opts[:rma_number]
        self.payment_type ||= 'RECIPIENT'
        @return_type = opts[:return_type] || 'PRINT_RETURN_LABEL'
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
active_shipping-0.1.4 lib/active_shipping/shipping/return_shipment.rb
active_shipping-0.1.3 lib/active_shipping/shipping/return_shipment.rb
active_shipping-0.1.2 lib/active_shipping/shipping/return_shipment.rb
active_shipping-0.1.1 lib/active_shipping/shipping/return_shipment.rb
active_shipping-0.1.0 lib/active_shipping/shipping/return_shipment.rb