Class: Dodopayments::Models::Product::DigitalProductDelivery
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::Product::DigitalProductDelivery
- Defined in:
- lib/dodopayments/models/product.rb
Overview
Defined Under Namespace
Classes: File
Instance Attribute Summary collapse
-
#external_url ⇒ String?
External URL to digital product.
-
#files ⇒ Array<Dodopayments::Models::Product::DigitalProductDelivery::File>?
Uploaded files ids of digital product.
-
#instructions ⇒ String?
Instructions to download and use the digital product.
Method Summary
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from Dodopayments::Internal::Type::BaseModel
Instance Attribute Details
#external_url ⇒ String?
External URL to digital product
156 |
# File 'lib/dodopayments/models/product.rb', line 156 optional :external_url, String, nil?: true |
#files ⇒ Array<Dodopayments::Models::Product::DigitalProductDelivery::File>?
Uploaded files ids of digital product
162 163 164 165 166 |
# File 'lib/dodopayments/models/product.rb', line 162 optional :files, -> { Dodopayments::Internal::Type::ArrayOf[Dodopayments::Product::DigitalProductDelivery::File] }, nil?: true |
#instructions ⇒ String?
Instructions to download and use the digital product
172 |
# File 'lib/dodopayments/models/product.rb', line 172 optional :instructions, String, nil?: true |