Class: Edi::MftGateway::ShippingOptionResult

Inherits:
Data
  • Object
show all
Defined in:
app/services/edi/mft_gateway/shipping_option_result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code:, name:, sps_scac: nil, saturday: false, signature: false, sps_code: nil) ⇒ ShippingOptionResult

Returns a new instance of ShippingOptionResult.



5
# File 'app/services/edi/mft_gateway/shipping_option_result.rb', line 5

def initialize(code:, name:, sps_scac: nil, saturday: false, signature: false, sps_code: nil) = super

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



4
5
6
# File 'app/services/edi/mft_gateway/shipping_option_result.rb', line 4

def code
  @code
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



4
5
6
# File 'app/services/edi/mft_gateway/shipping_option_result.rb', line 4

def name
  @name
end

#saturdayObject (readonly)

Returns the value of attribute saturday

Returns:

  • (Object)

    the current value of saturday



4
5
6
# File 'app/services/edi/mft_gateway/shipping_option_result.rb', line 4

def saturday
  @saturday
end

#signatureObject (readonly)

Returns the value of attribute signature

Returns:

  • (Object)

    the current value of signature



4
5
6
# File 'app/services/edi/mft_gateway/shipping_option_result.rb', line 4

def signature
  @signature
end

#sps_codeObject (readonly)

Returns the value of attribute sps_code

Returns:

  • (Object)

    the current value of sps_code



4
5
6
# File 'app/services/edi/mft_gateway/shipping_option_result.rb', line 4

def sps_code
  @sps_code
end

#sps_scacObject (readonly)

Returns the value of attribute sps_scac

Returns:

  • (Object)

    the current value of sps_scac



4
5
6
# File 'app/services/edi/mft_gateway/shipping_option_result.rb', line 4

def sps_scac
  @sps_scac
end