Class: CloudpaymentsRuby::Models::Payments::TokenAuthParams::Payer
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- CloudpaymentsRuby::Models::Payments::TokenAuthParams::Payer
- Defined in:
- lib/cloudpayments_ruby/models/payments/token_auth_params.rb
Instance Attribute Summary collapse
-
#address ⇒ String?
Адрес.
-
#birth ⇒ String?
Дата рождения (YYYY-MM-DD).
-
#city ⇒ String?
Город.
-
#country ⇒ String?
Страна (код ISO).
-
#first_name ⇒ String?
Имя.
-
#last_name ⇒ String?
Фамилия.
-
#middle_name ⇒ String?
Отчество.
-
#phone ⇒ String?
Телефон.
-
#postcode ⇒ String?
Почтовый индекс.
-
#street ⇒ String?
Улица.
Instance Method Summary collapse
-
#initialize(address: nil, birth: nil, city: nil, country: nil, first_name: nil, last_name: nil, middle_name: nil, phone: nil, postcode: nil, street: nil) ⇒ Object
constructor
Информация о плательщике.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(address: nil, birth: nil, city: nil, country: nil, first_name: nil, last_name: nil, middle_name: nil, phone: nil, postcode: nil, street: nil) ⇒ Object
Информация о плательщике
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 |
# File 'lib/cloudpayments_ruby/models/payments/token_auth_params.rb', line 110 class Payer < CloudpaymentsRuby::Internal::Type::BaseModel # @!attribute address # Адрес # # @return [String, nil] optional :address, String, api_name: :Address # @!attribute birth # Дата рождения (YYYY-MM-DD) # # @return [String, nil] optional :birth, String, api_name: :Birth # @!attribute city # Город # # @return [String, nil] optional :city, String, api_name: :City # @!attribute country # Страна (код ISO) # # @return [String, nil] optional :country, String, api_name: :Country # @!attribute first_name # Имя # # @return [String, nil] optional :first_name, String, api_name: :FirstName # @!attribute last_name # Фамилия # # @return [String, nil] optional :last_name, String, api_name: :LastName # @!attribute middle_name # Отчество # # @return [String, nil] optional :middle_name, String, api_name: :MiddleName # @!attribute phone # Телефон # # @return [String, nil] optional :phone, String, api_name: :Phone # @!attribute postcode # Почтовый индекс # # @return [String, nil] optional :postcode, String, api_name: :Postcode # @!attribute street # Улица # # @return [String, nil] optional :street, String, api_name: :Street # @!method initialize(address: nil, birth: nil, city: nil, country: nil, first_name: nil, last_name: nil, middle_name: nil, phone: nil, postcode: nil, street: nil) # Информация о плательщике # # @param address [String] Адрес # # @param birth [String] Дата рождения (YYYY-MM-DD) # # @param city [String] Город # # @param country [String] Страна (код ISO) # # @param first_name [String] Имя # # @param last_name [String] Фамилия # # @param middle_name [String] Отчество # # @param phone [String] Телефон # # @param postcode [String] Почтовый индекс # # @param street [String] Улица end |
Instance Attribute Details
#address ⇒ String?
Адрес
115 |
# File 'lib/cloudpayments_ruby/models/payments/token_auth_params.rb', line 115 optional :address, String, api_name: :Address |
#birth ⇒ String?
Дата рождения (YYYY-MM-DD)
121 |
# File 'lib/cloudpayments_ruby/models/payments/token_auth_params.rb', line 121 optional :birth, String, api_name: :Birth |
#city ⇒ String?
Город
127 |
# File 'lib/cloudpayments_ruby/models/payments/token_auth_params.rb', line 127 optional :city, String, api_name: :City |
#country ⇒ String?
Страна (код ISO)
133 |
# File 'lib/cloudpayments_ruby/models/payments/token_auth_params.rb', line 133 optional :country, String, api_name: :Country |
#first_name ⇒ String?
Имя
139 |
# File 'lib/cloudpayments_ruby/models/payments/token_auth_params.rb', line 139 optional :first_name, String, api_name: :FirstName |
#last_name ⇒ String?
Фамилия
145 |
# File 'lib/cloudpayments_ruby/models/payments/token_auth_params.rb', line 145 optional :last_name, String, api_name: :LastName |
#middle_name ⇒ String?
Отчество
151 |
# File 'lib/cloudpayments_ruby/models/payments/token_auth_params.rb', line 151 optional :middle_name, String, api_name: :MiddleName |
#phone ⇒ String?
Телефон
157 |
# File 'lib/cloudpayments_ruby/models/payments/token_auth_params.rb', line 157 optional :phone, String, api_name: :Phone |
#postcode ⇒ String?
Почтовый индекс
163 |
# File 'lib/cloudpayments_ruby/models/payments/token_auth_params.rb', line 163 optional :postcode, String, api_name: :Postcode |
#street ⇒ String?
Улица
169 |
# File 'lib/cloudpayments_ruby/models/payments/token_auth_params.rb', line 169 optional :street, String, api_name: :Street |