class Afterpay::Components::Item

Attributes

categories[RW]

@attribute categories @return [Array] An array of arrays to accommodate multiple categories that apply to the item. Each array represents a hierarchical path to a category, with the left-most category being the top-level parent category.

estimated_shipment_date[RW]

@attribute estimated_shipment_date @return [String] The estimated date when the order will be shipped, in YYYY-MM or YYYY-MM-DD format

image_url[RW]

@attribute image_url @return [String] A URL for a web-optimised photo of the item, suitable for use directly as the src attribute of an img tag. Limited to 2048 characters.

name[RW]

@attribute name @return [String] Product's name

page_url[RW]

@attribute page_url @return [String] The canonical URL for the item's Product Detail Page. Limited to 2048 characters.

price[RW]

@attribute price @return [Afterpay::Components::Money] The unit price of the individual item. Must be a positive value.

quantity[RW]

@attribute quantity @return [Integer] The quantity of the item.

sku[RW]

@attribute sku @return [String] Product's SKU