Class: DeliveryFivePostClient::Models::API::V1::Partners::OrderUpdateClientInfoParams::Client

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/delivery_five_post_client/models/api/v1/partners/order_update_client_info_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(alternative_phone: nil, email: nil, name: nil, phone: nil) ⇒ Object

Some parameter documentations has been truncated, see DeliveryFivePostClient::Models::API::V1::Partners::OrderUpdateClientInfoParams::Client for more details.

Обновление информации о клиенте / Client information update

Parameters:

  • alternative_phone (String) (defaults to: nil) —

    Номер телефона в международном формате (+79001234567) / Phone number in internat

  • email (String) (defaults to: nil) —

    Email адрес / Email address

  • name (String) (defaults to: nil) —

    ФИО клиента / Client full name

  • phone (String) (defaults to: nil) —

    Номер телефона в международном формате (+79001234567) / Phone number in internat



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/delivery_five_post_client/models/api/v1/partners/order_update_client_info_params.rb', line 24

class Client < DeliveryFivePostClient::Internal::Type::BaseModel
  # @!attribute alternative_phone
  #   Номер телефона в международном формате (+79001234567) / Phone number in
  #   international format (+79001234567)
  #
  #   @return [String, nil]
  optional :alternative_phone, String, api_name: :alternativePhone

  # @!attribute email
  #   Email адрес / Email address
  #
  #   @return [String, nil]
  optional :email, String

  # @!attribute name
  #   ФИО клиента / Client full name
  #
  #   @return [String, nil]
  optional :name, String

  # @!attribute phone
  #   Номер телефона в международном формате (+79001234567) / Phone number in
  #   international format (+79001234567)
  #
  #   @return [String, nil]
  optional :phone, String

  # @!method initialize(alternative_phone: nil, email: nil, name: nil, phone: nil)
  #   Some parameter documentations has been truncated, see
  #   {DeliveryFivePostClient::Models::API::V1::Partners::OrderUpdateClientInfoParams::Client}
  #   for more details.
  #
  #   Обновление информации о клиенте / Client information update
  #
  #   @param alternative_phone [String] Номер телефона в международном формате (+79001234567) / Phone number in internat
  #
  #   @param email [String] Email адрес / Email address
  #
  #   @param name [String] ФИО клиента / Client full name
  #
  #   @param phone [String] Номер телефона в международном формате (+79001234567) / Phone number in internat
end

Instance Attribute Details

#alternative_phone ⇒ String?

Номер телефона в международном формате (+79001234567) / Phone number in international format (+79001234567)

Returns:

  • (String, nil)


30
# File 'lib/delivery_five_post_client/models/api/v1/partners/order_update_client_info_params.rb', line 30

optional :alternative_phone, String, api_name: :alternativePhone

#email ⇒ String?

Email адрес / Email address

Returns:

  • (String, nil)


36
# File 'lib/delivery_five_post_client/models/api/v1/partners/order_update_client_info_params.rb', line 36

optional :email, String

#name ⇒ String?

ФИО клиента / Client full name

Returns:

  • (String, nil)


42
# File 'lib/delivery_five_post_client/models/api/v1/partners/order_update_client_info_params.rb', line 42

optional :name, String

#phone ⇒ String?

Номер телефона в международном формате (+79001234567) / Phone number in international format (+79001234567)

Returns:

  • (String, nil)


49
# File 'lib/delivery_five_post_client/models/api/v1/partners/order_update_client_info_params.rb', line 49

optional :phone, String