Sha256: dd56b09d0463eb5cd4e7eae3e21c3175ba2e4e8d827f73904b9643e7b8a1185d

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

module Falsify
  # See the [API documentation](https://help.shopify.com/en/api/reference/products/collect).
  class Collect
    # The ID of the custom collection containing the product.
    # @return [String]
    attr_accessor :collection_id
    # The date and time ([ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format) when the collect was created.
    # @return [String]
    attr_accessor :created_at
    # A unique numeric identifier for the collect.
    # @return [String]
    attr_accessor :id
    # The position of this product in a manually sorted custom collection.
    # The first position is 1.
    # This value is applied only when the custom collection is sorted manually.
    # @return [Integer]
    attr_accessor :position
    # The unique numeric identifier for the product in the custom collection.
    # @return [String]
    attr_accessor :product_id
    # This is the same value as `position` but padded with leading zeroes to make it alphanumeric-sortable.
    # This value is applied only when the custom collection is sorted manually.
    # @return [String]
    attr_accessor :sort_value
    # The date and time ([ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format) when the collect was last updated.
    # @return [String]
    attr_accessor :updated_at
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
falsify-0.1.0 lib/falsify/models/product/collection/collect.rb