Class: Dodopayments::Models::SubscriptionUpdatePaymentMethodResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/dodopayments/models/subscription_update_payment_method_response.rb

Overview

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(client_secret: nil, expires_on: nil, payment_id: nil, payment_link: nil) ⇒ Object

Parameters:

  • client_secret (String, nil) (defaults to: nil)
  • expires_on (Time, nil) (defaults to: nil)
  • payment_id (String, nil) (defaults to: nil)
  • payment_link (String, nil) (defaults to: nil)


# File 'lib/dodopayments/models/subscription_update_payment_method_response.rb', line 27

Instance Attribute Details

#client_secretString?

Returns:

  • (String, nil)


10
# File 'lib/dodopayments/models/subscription_update_payment_method_response.rb', line 10

optional :client_secret, String, nil?: true

#expires_onTime?

Returns:

  • (Time, nil)


15
# File 'lib/dodopayments/models/subscription_update_payment_method_response.rb', line 15

optional :expires_on, Time, nil?: true

#payment_idString?

Returns:

  • (String, nil)


20
# File 'lib/dodopayments/models/subscription_update_payment_method_response.rb', line 20

optional :payment_id, String, nil?: true

Returns:

  • (String, nil)


25
# File 'lib/dodopayments/models/subscription_update_payment_method_response.rb', line 25

optional :payment_link, String, nil?: true