lib/afterpay/components/item.rb in afterpay-0.2.0 vs lib/afterpay/components/item.rb in afterpay-0.3.0
- old
+ new
@@ -41,8 +41,13 @@
# @attribute estimated_shipment_date
# @return [String]
# The estimated date when the order will be shipped, in YYYY-MM or YYYY-MM-DD format
attr_accessor :estimated_shipment_date
+
+ # @attribute preorder
+ # @return boolean
+ # Should return false when the estimated_shipment_date is already passed otherwise true
+ attr_accessor :preorder
end
end
end