class PaymentCardValidationRule
Constants
- CARDBRAND
- CARDBRANDNAME
- FIELDS
- GROUPING
- MAXLENGTH
- REGEX
- SECURITYCODEHELP
Public Instance Methods
struct_fields()
click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 8633 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 8635 def validate unless @cardBrand.nil? || ::G_a_b_z0_a_d_k0::VALID_VALUES.include?(@cardBrand) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field cardBrand!') end end