Class: PaymentCountrySettingInfoEx

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/linerb/gen-rb/takagi_chan_types.rb,
lib/linerb/gen-rb/takagi_chan_types.rb

Constant Summary collapse

BALANCESUPPORT =
1
BALANCETYPE =
2
ASYNCWAITTIMEOUT =
3
CREDITCARDSUPPORT =
4
CYBS =
5
CROSSBORDERTRANSFER =
6
ADDRESSSEARCHTYPE =
7
8
DEPOSITMETHODS =
9
URLS =
10
URLGROUPS =
11
PAYGENABLED =
12
LIMIT =
13
EMAILREQUIRED =
14
TOSURLBUNDLES =
15
REGISTRATIONTYPE =
16
POINTSUPPORT =
17
REGISTRATIONURL =
18
INTROURL =
19
TOUCHIDMENUAVAILABLE =
20
MYCODEPASSWORDREQUIRED =
21
SETTINGWITHDRAWSTATICMENU =
22
FIELDS =
{
  BALANCESUPPORT => {:type => ::Thrift::Types::BOOL, :name => 'balanceSupport'},
  BALANCETYPE => {:type => ::Thrift::Types::I32, :name => 'balanceType', :enum_class => ::G_a_b_z0_a_d_o0},
  ASYNCWAITTIMEOUT => {:type => ::Thrift::Types::I32, :name => 'asyncWaitTimeout'},
  CREDITCARDSUPPORT => {:type => ::Thrift::Types::BOOL, :name => 'creditcardSupport'},
  CYBS => {:type => ::Thrift::Types::STRUCT, :name => 'cybs', :class => ::PaymentCybsInfo},
  CROSSBORDERTRANSFER => {:type => ::Thrift::Types::BOOL, :name => 'crossBorderTransfer'},
  ADDRESSSEARCHTYPE => {:type => ::Thrift::Types::I32, :name => 'addressSearchType', :enum_class => ::G_a_b_z0_a_d_d0},
  MENU => {:type => ::Thrift::Types::LIST, :name => 'menu', :element => {:type => ::Thrift::Types::STRUCT, :class => ::PaymentCountrySettingMenu}},
  DEPOSITMETHODS => {:type => ::Thrift::Types::LIST, :name => 'depositMethods', :element => {:type => ::Thrift::Types::I32, :enum_class => ::G_a_b_z0_a_d_k}},
  URLS => {:type => ::Thrift::Types::MAP, :name => 'urls', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::PaymentUrlInfo}},
  URLGROUPS => {:type => ::Thrift::Types::MAP, :name => 'urlGroups', :key => {:type => ::Thrift::Types::I32, :enum_class => ::G_a_b_z0_a_d_y7}, :value => {:type => ::Thrift::Types::STRING}},
  PAYGENABLED => {:type => ::Thrift::Types::BOOL, :name => 'paygEnabled'},
  LIMIT => {:type => ::Thrift::Types::STRUCT, :name => 'limit', :class => ::PaymentCountrySettingLimitInfo},
  EMAILREQUIRED => {:type => ::Thrift::Types::BOOL, :name => 'emailRequired'},
  TOSURLBUNDLES => {:type => ::Thrift::Types::MAP, :name => 'tosUrlBundles', :key => {:type => ::Thrift::Types::I32, :enum_class => ::G_a_b_z0_a_d_o7}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::PaymentTosUrlBundle}},
  REGISTRATIONTYPE => {:type => ::Thrift::Types::I32, :name => 'registrationType', :enum_class => ::G_a_b_z0_a_d_v1},
  POINTSUPPORT => {:type => ::Thrift::Types::BOOL, :name => 'pointSupport'},
  REGISTRATIONURL => {:type => ::Thrift::Types::STRING, :name => 'registrationUrl'},
  INTROURL => {:type => ::Thrift::Types::STRING, :name => 'introUrl'},
  TOUCHIDMENUAVAILABLE => {:type => ::Thrift::Types::BOOL, :name => 'touchIdMenuAvailable'},
  MYCODEPASSWORDREQUIRED => {:type => ::Thrift::Types::BOOL, :name => 'myCodePasswordRequired'},
  SETTINGWITHDRAWSTATICMENU => {:type => ::Thrift::Types::MAP, :name => 'settingWithdrawStaticMenu', :key => {:type => ::Thrift::Types::I32, :enum_class => ::G_a_b_z0_a_d_b8}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::PayWithdrawStaticMenu}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



7606
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 7606

def struct_fields; FIELDS; end

#validateObject



7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 7608

def validate
  unless @balanceType.nil? || ::G_a_b_z0_a_d_o0::VALID_VALUES.include?(@balanceType)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field balanceType!')
  end
  unless @addressSearchType.nil? || ::G_a_b_z0_a_d_d0::VALID_VALUES.include?(@addressSearchType)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field addressSearchType!')
  end
  unless @registrationType.nil? || ::G_a_b_z0_a_d_v1::VALID_VALUES.include?(@registrationType)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field registrationType!')
  end
end