# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ImportExport::Mgmt::V2016_11_01
  module Models
    #
    # Specifies the return carrier and customer's account with the carrier.
    #
    class ReturnShipping

      include MsRestAzure

      # @return [String] The carrier's name.
      attr_accessor :carrier_name

      # @return [String] The customer's account number with the carrier.
      attr_accessor :carrier_account_number


      #
      # Mapper for ReturnShipping class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ReturnShipping',
          type: {
            name: 'Composite',
            class_name: 'ReturnShipping',
            model_properties: {
              carrier_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'carrierName',
                type: {
                  name: 'String'
                }
              },
              carrier_account_number: {
                client_side_validation: true,
                required: true,
                serialized_name: 'carrierAccountNumber',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
