Method: TransferZero::PayinMethodDetailsMobile#list_invalid_properties

Defined in:
lib/transferzero-sdk/models/payin_method_details_mobile.rb

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



66
67
68
69
70
71
72
73
# File 'lib/transferzero-sdk/models/payin_method_details_mobile.rb', line 66

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

  invalid_properties
end