Method: AmzSpApi::FulfillmentInboundApiModel::Pallet#list_invalid_properties
- Defined in:
- lib/fulfillment-inbound-api-model/models/pallet.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/fulfillment-inbound-api-model/models/pallet.rb', line 78 def list_invalid_properties invalid_properties = Array.new if @dimensions.nil? invalid_properties.push('invalid value for "dimensions", dimensions cannot be nil.') end if @is_stacked.nil? invalid_properties.push('invalid value for "is_stacked", is_stacked cannot be nil.') end invalid_properties end |