Method: OpenapiClient::AliPayPaymentMethod#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



75
76
77
78
# File 'lib/openapi_client/models/ali_pay_payment_method.rb', line 75

def valid?
  return false if @ali_pay.nil?
  true
end