Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 835 Bytes

File metadata and controls

22 lines (16 loc) · 835 Bytes

UltracartClient::LibraryItemPurchasedMeta

Properties

Name Type Description Notes
most_recent_version Integer The most recent version of the item purchased [optional]
my_purchased_version Integer If this is a public item and the merchant has already purchased it, this is their version. If not yet purchased, this will be zero. This value will only be populated during a searchPublicItems() call. [optional]
upgrade_available Boolean True if the most recent version of this purchase it greater than what was purchased [optional]

Example

require 'ultracart_api'

instance = UltracartClient::LibraryItemPurchasedMeta.new(
  most_recent_version: null,
  my_purchased_version: null,
  upgrade_available: null
)