Class: CloudpaymentsRuby::Models::PaymentChargeParams::Payer
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- CloudpaymentsRuby::Models::PaymentChargeParams::Payer
- Defined in:
- lib/cloudpayments_ruby/models/payment_charge_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
Информация о плательщике
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 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 |
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 125 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?
Адрес
130 |
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 130 optional :address, String, api_name: :Address |
#birth ⇒ String?
Дата рождения (YYYY-MM-DD)
136 |
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 136 optional :birth, String, api_name: :Birth |
#city ⇒ String?
Город
142 |
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 142 optional :city, String, api_name: :City |
#country ⇒ String?
Страна (код ISO)
148 |
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 148 optional :country, String, api_name: :Country |
#first_name ⇒ String?
Имя
154 |
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 154 optional :first_name, String, api_name: :FirstName |
#last_name ⇒ String?
Фамилия
160 |
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 160 optional :last_name, String, api_name: :LastName |
#middle_name ⇒ String?
Отчество
166 |
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 166 optional :middle_name, String, api_name: :MiddleName |
#phone ⇒ String?
Телефон
172 |
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 172 optional :phone, String, api_name: :Phone |
#postcode ⇒ String?
Почтовый индекс
178 |
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 178 optional :postcode, String, api_name: :Postcode |
#street ⇒ String?
Улица
184 |
# File 'lib/cloudpayments_ruby/models/payment_charge_params.rb', line 184 optional :street, String, api_name: :Street |