class

Twilio::PaymentsEnumCapture

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

Constants

ERROR_MESSAGE = "invalid value for \"payments_enum_capture\", must be one of [\"payment-card-number\", \"expiration-date\", \"security-code\", \"postal-code\", \"bank-routing-number\", \"bank-account-number\"]."
VALID_VALUES = String.static_array("payment-card-number", "expiration-date", "security-code", "postal-code", "bank-routing-number", "bank-account-number")

Constructors

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

Class methods

from_json_object_key?(key : String)
Source
to_json(value : PaymentsEnumCapture, 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