Class: Dodopayments::Models::Product::DigitalProductDelivery

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

Overview

Defined Under Namespace

Classes: File

Instance Attribute Summary collapse

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_urlString?

External URL to digital product

Returns:

  • (String, nil)


156
# File 'lib/dodopayments/models/product.rb', line 156

optional :external_url, String, nil?: true

#filesArray<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

#instructionsString?

Instructions to download and use the digital product

Returns:

  • (String, nil)


172
# File 'lib/dodopayments/models/product.rb', line 172

optional :instructions, String, nil?: true