Method: TransferZero::PayoutMethodDetailsGBPBank#list_invalid_properties

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

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



104
105
106
107
108
109
110
111
112
113
114
115
# File 'lib/transferzero-sdk/models/payout_method_details_gbp_bank.rb', line 104

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

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

  invalid_properties
end