Class: Increase::Models::CardIframeURL

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/card_iframe_url.rb

Overview

Defined Under Namespace

Modules: Type

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(expires_at: , iframe_url: , type: ) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::CardIframeURL for more details.

An object containing the iframe URL for a Card.

Parameters:

  • expires_at (Time) (defaults to: )

    The time the iframe URL will expire.

  • iframe_url (String) (defaults to: )

    The iframe URL for the Card. Treat this as an opaque URL.

  • type (Symbol, Increase::Models::CardIframeURL::Type) (defaults to: )

    A constant representing the object’s type. For this resource it will always be ‘



# File 'lib/increase/models/card_iframe_url.rb', line 26

Instance Attribute Details

#expires_atTime

The time the iframe URL will expire.

Returns:

  • (Time)


11
# File 'lib/increase/models/card_iframe_url.rb', line 11

required :expires_at, Time

#iframe_urlString

The iframe URL for the Card. Treat this as an opaque URL.

Returns:

  • (String)


17
# File 'lib/increase/models/card_iframe_url.rb', line 17

required :iframe_url, String

#typeSymbol, Increase::Models::CardIframeURL::Type

A constant representing the object’s type. For this resource it will always be ‘card_iframe_url`.



24
# File 'lib/increase/models/card_iframe_url.rb', line 24

required :type, enum: -> { Increase::CardIframeURL::Type }