Method: OpenapiClient::UpdatePaymentToken#valid?

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

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



102
103
104
105
106
# File 'lib/openapi_client/models/update_payment_token.rb', line 102

def valid?
  return false if @value.nil?
  return false if @payment_card.nil?
  true
end