Method: OpenapiClient::ChinaDomesticPaymentMethodAllOf#list_invalid_properties

Defined in:
lib/openapi_client/models/china_domestic_payment_method_all_of.rb

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



85
86
87
88
89
90
91
92
93
94
95
96
# File 'lib/openapi_client/models/china_domestic_payment_method_all_of.rb', line 85

def list_invalid_properties
  invalid_properties = Array.new
  if @china_domestic.nil?
    invalid_properties.push('invalid value for "china_domestic", china_domestic cannot be nil.')
  end

  if @brand.nil?
    invalid_properties.push('invalid value for "brand", brand cannot be nil.')
  end

  invalid_properties
end