Class: CloudpaymentsRuby::Models::PaymentAuthResponse::UnionMember1::Model

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/cloudpayments_ruby/models/payment_auth_response.rb

Overview

See Also:

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(acs_url:, i_frame_is_allowed:, pa_req:, three_ds_callback_id:, transaction_id:, escrow_accumulation_id: nil, frame_height: nil, frame_width: nil, go_req: nil, three_ds_session_data: nil) ⇒ Object

Модель ответа, требующего 3-D Secure аутентификацию

Parameters:

  • acs_url (String)

    URL сервера аутентификации (ACS)

  • i_frame_is_allowed (Boolean)

    Разрешено ли использовать iframe

  • pa_req (String)

    Параметр PaReq для ACS

  • three_ds_callback_id (String)

    ID callback для 3DS

  • transaction_id (Integer)

    ID транзакции (используется как MD)

  • escrow_accumulation_id (String) (defaults to: nil)

    ID накопления для безопасной сделки

  • frame_height (Integer) (defaults to: nil)

    Высота фрейма

  • frame_width (Integer) (defaults to: nil)

    Ширина фрейма

  • go_req (String) (defaults to: nil)

    Параметр GoReq (опционально)

  • three_ds_session_data (String) (defaults to: nil)

    Данные сессии 3DS



# File 'lib/cloudpayments_ruby/models/payment_auth_response.rb', line 138

Instance Attribute Details

#acs_urlString

URL сервера аутентификации (ACS)

Returns:

  • (String)


82
# File 'lib/cloudpayments_ruby/models/payment_auth_response.rb', line 82

required :acs_url, String, api_name: :AcsUrl

#escrow_accumulation_idString?

ID накопления для безопасной сделки

Returns:

  • (String, nil)


112
# File 'lib/cloudpayments_ruby/models/payment_auth_response.rb', line 112

optional :escrow_accumulation_id, String, api_name: :EscrowAccumulationId

#frame_heightInteger?

Высота фрейма

Returns:

  • (Integer, nil)


118
# File 'lib/cloudpayments_ruby/models/payment_auth_response.rb', line 118

optional :frame_height, Integer, api_name: :FrameHeight

#frame_widthInteger?

Ширина фрейма

Returns:

  • (Integer, nil)


124
# File 'lib/cloudpayments_ruby/models/payment_auth_response.rb', line 124

optional :frame_width, Integer, api_name: :FrameWidth

#go_reqString?

Параметр GoReq (опционально)

Returns:

  • (String, nil)


130
# File 'lib/cloudpayments_ruby/models/payment_auth_response.rb', line 130

optional :go_req, String, api_name: :GoReq

#i_frame_is_allowedBoolean

Разрешено ли использовать iframe

Returns:

  • (Boolean)


88
# File 'lib/cloudpayments_ruby/models/payment_auth_response.rb', line 88

required :i_frame_is_allowed, CloudpaymentsRuby::Internal::Type::Boolean, api_name: :IFrameIsAllowed

#pa_reqString

Параметр PaReq для ACS

Returns:

  • (String)


94
# File 'lib/cloudpayments_ruby/models/payment_auth_response.rb', line 94

required :pa_req, String, api_name: :PaReq

#three_ds_callback_idString

ID callback для 3DS

Returns:

  • (String)


100
# File 'lib/cloudpayments_ruby/models/payment_auth_response.rb', line 100

required :three_ds_callback_id, String, api_name: :ThreeDsCallbackId

#three_ds_session_dataString?

Данные сессии 3DS

Returns:

  • (String, nil)


136
# File 'lib/cloudpayments_ruby/models/payment_auth_response.rb', line 136

optional :three_ds_session_data, String, api_name: :ThreeDsSessionData

#transaction_idInteger

ID транзакции (используется как MD)

Returns:

  • (Integer)


106
# File 'lib/cloudpayments_ruby/models/payment_auth_response.rb', line 106

required :transaction_id, Integer, api_name: :TransactionId