Class: Peddler::Reports::VendorCoupon::ASINDetails
- Inherits:
-
Data
- Object
- Data
- Peddler::Reports::VendorCoupon::ASINDetails
- Defined in:
- sig/peddler/reports/vendor_coupon.rbs
Instance Attribute Summary collapse
-
#asin ⇒ String
readonly
Returns the value of attribute asin.
-
#discount_amount ⇒ Float
readonly
Returns the value of attribute discount_amount.
-
#discount_type ⇒ String
readonly
Returns the value of attribute discount_type.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :asin, :discount_amount, :discount_type ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Reports::VendorCoupon::ASINDetails
Instance Method Summary collapse
-
#members ⇒ [ :asin, :discount_amount, :discount_type ]
-
#to_h ⇒ { asin: String, discount_amount: Float, discount_type: String }
Instance Attribute Details
#asin ⇒ String (readonly)
Returns the value of attribute asin.
14 15 16 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 14 def asin @asin end |
#discount_amount ⇒ Float (readonly)
Returns the value of attribute discount_amount.
15 16 17 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 15 def discount_amount @discount_amount end |
#discount_type ⇒ String (readonly)
Returns the value of attribute discount_type.
16 17 18 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 16 def discount_type @discount_type end |
Class Method Details
.[](asin:, discount_amount:, discount_type:) ⇒ Peddler::Reports::VendorCoupon::ASINDetails .[](arg0, arg1, arg2) ⇒ Peddler::Reports::VendorCoupon::ASINDetails
7 8 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 7
def self.[]: (asin: String, discount_amount: Float, discount_type: String) -> Peddler::Reports::VendorCoupon::ASINDetails
| (String, Float, String) -> Peddler::Reports::VendorCoupon::ASINDetails
|
.members ⇒ [ :asin, :discount_amount, :discount_type ]
10 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 10
def self.members: () -> [ :asin, :discount_amount, :discount_type ]
|
.new(asin:, discount_amount:, discount_type:) ⇒ Peddler::Reports::VendorCoupon::ASINDetails .new(arg0, arg1, arg2) ⇒ Peddler::Reports::VendorCoupon::ASINDetails
5 6 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 5
def self.new: (asin: String, discount_amount: Float, discount_type: String) -> Peddler::Reports::VendorCoupon::ASINDetails
| (String, Float, String) -> Peddler::Reports::VendorCoupon::ASINDetails
|
.parse ⇒ Peddler::Reports::VendorCoupon::ASINDetails
12 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 12
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Reports::VendorCoupon::ASINDetails
|
Instance Method Details
#members ⇒ [ :asin, :discount_amount, :discount_type ]
18 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 18
def members: () -> [ :asin, :discount_amount, :discount_type ]
|
#to_h ⇒ { asin: String, discount_amount: Float, discount_type: String }
19 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 19
def to_h: () -> { asin: String, discount_amount: Float, discount_type: String }
|