Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1.56 KB

File metadata and controls

36 lines (30 loc) · 1.56 KB

UltracartClient::ItemDigitalItem

Properties

Name Type Description Notes
click_wrap_agreement String Click wrap agreement is presented to the customer before they can purchase your product. [optional]
creation_dts String File creation date [optional]
description String Description of the digital item [optional]
digital_item_oid Integer The Digital item oid is a primary key used internally by UltraCart. You should not set or change this value. Doing so will have no effect. [optional]
external_id String External Id useful for syncing with a remote filesystem, this may be an MD5 hash or whatever suits your needs. [optional]
file_size Integer File size [optional]
import_from_url String This url is sourced to create or update a digital file in your digital library. It is only considered during an insert or update operation. [optional]
mime_type String Mime type associated with the file [optional]
original_filename String Original filename [optional]
pdf_meta ItemDigitalItemPdfMeta [optional]

Example

require 'ultracart_api'

instance = UltracartClient::ItemDigitalItem.new(
  click_wrap_agreement: null,
  creation_dts: null,
  description: null,
  digital_item_oid: null,
  external_id: null,
  file_size: null,
  import_from_url: null,
  mime_type: null,
  original_filename: null,
  pdf_meta: null
)