class

Twilio::PaymentsEnumPaymentMethod

Inherits OpenApi::Json / OpenApi::Validatable / Reference / Object

Constants

ERROR_MESSAGE = "invalid value for \"payments_enum_payment_method\", must be one of [\"credit-card\", \"ach-debit\"]."
VALID_VALUES = String.static_array("credit-card", "ach-debit")

Constructors

from_json(value : JSON::PullParser) : PaymentsEnumPaymentMethod
Source
new(data : String, strict : Bool = true)
Source

Class methods

from_json_object_key?(key : String)
Source
to_json(value : PaymentsEnumPaymentMethod, json : JSON::Builder) : Nil
Source

Instance methods

==(other : self)

Returns true if this reference is the same as other. Invokes same?.

data
Source
data=(data : String)
Source
error_message
Source
hash(hasher)

See Object#hash(hasher)

list_invalid_properties
Source
to_json(json : JSON::Builder) : Nil
Source
to_json_object_key(*args, **options)
Source
to_json_object_key(*args, **options, &)
Source
valid?
Source
validate
Source