Class: Edi::Walmart::ShipWithWalmart::PackageTypesResult

Inherits:
Data
  • Object
show all
Defined in:
app/services/edi/walmart/ship_with_walmart.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(success: nil, package_types: nil, error: nil) ⇒ PackageTypesResult

Returns a new instance of PackageTypesResult.



24
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 24

def initialize(success: nil, package_types: nil, error: nil) = super

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



23
24
25
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 23

def error
  @error
end

#package_typesObject (readonly)

Returns the value of attribute package_types

Returns:

  • (Object)

    the current value of package_types



23
24
25
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 23

def package_types
  @package_types
end

#successObject (readonly)

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



23
24
25
# File 'app/services/edi/walmart/ship_with_walmart.rb', line 23

def success
  @success
end