Class: Peddler::Reports::SellerCoupon::CouponDetails
- Inherits:
-
Data
- Object
- Data
- Peddler::Reports::SellerCoupon::CouponDetails
- Defined in:
- sig/peddler/reports/seller_coupon.rbs
Instance Attribute Summary collapse
-
#asins ⇒ Array[Peddler::Reports::SellerCoupon::ASINDetails]
readonly
Returns the value of attribute asins.
-
#budget ⇒ Float?
readonly
Returns the value of attribute budget.
-
#budget_percentage_used ⇒ Float
readonly
Returns the value of attribute budget_percentage_used.
-
#budget_remaining ⇒ Float?
readonly
Returns the value of attribute budget_remaining.
-
#budget_spent ⇒ Float
readonly
Returns the value of attribute budget_spent.
-
#clips ⇒ Integer
readonly
Returns the value of attribute clips.
-
#coupon_id ⇒ String
readonly
Returns the value of attribute coupon_id.
-
#currency_code ⇒ String
readonly
Returns the value of attribute currency_code.
-
#customer_segment ⇒ String
readonly
Returns the value of attribute customer_segment.
-
#discount_amount ⇒ Float?
readonly
Returns the value of attribute discount_amount.
-
#discount_type ⇒ String?
readonly
Returns the value of attribute discount_type.
-
#end_date_time ⇒ Time
readonly
Returns the value of attribute end_date_time.
-
#marketplace_id ⇒ String
readonly
Returns the value of attribute marketplace_id.
-
#merchant_id ⇒ String
readonly
Returns the value of attribute merchant_id.
-
#name ⇒ String?
readonly
Returns the value of attribute name.
-
#redemptions ⇒ Integer
readonly
Returns the value of attribute redemptions.
-
#sales ⇒ Float?
readonly
Returns the value of attribute sales.
-
#start_date_time ⇒ Time
readonly
Returns the value of attribute start_date_time.
-
#total_discount ⇒ Float
readonly
Returns the value of attribute total_discount.
-
#website_message ⇒ String?
readonly
Returns the value of attribute website_message.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :asins, :budget_percentage_used, :budget_spent, :clips, :coupon_id, :currency_code, :customer_segment, :end_date_time, :marketplace_id, :merchant_id, :redemptions, :start_date_time, :total_discount, :budget, :budget_remaining, :discount_amount, :discount_type, :name, :sales, :website_message ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Reports::SellerCoupon::CouponDetails
Instance Method Summary collapse
-
#members ⇒ [ :asins, :budget_percentage_used, :budget_spent, :clips, :coupon_id, :currency_code, :customer_segment, :end_date_time, :marketplace_id, :merchant_id, :redemptions, :start_date_time, :total_discount, :budget, :budget_remaining, :discount_amount, :discount_type, :name, :sales, :website_message ]
-
#to_h ⇒ { asins: Array[Peddler::Reports::SellerCoupon::ASINDetails], budget_percentage_used: Float, budget_spent: Float, clips: Integer, coupon_id: String, currency_code: String, customer_segment: String, end_date_time: Time, marketplace_id: String, merchant_id: String, redemptions: Integer, start_date_time: Time, total_discount: Float, budget: Float?, budget_remaining: Float?, discount_amount: Float?, discount_type: String?, name: String?, sales: Float?, website_message: String? }
Instance Attribute Details
#asins ⇒ Array[Peddler::Reports::SellerCoupon::ASINDetails] (readonly)
Returns the value of attribute asins.
30 31 32 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 30 def asins @asins end |
#budget ⇒ Float? (readonly)
Returns the value of attribute budget.
31 32 33 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 31 def budget @budget end |
#budget_percentage_used ⇒ Float (readonly)
Returns the value of attribute budget_percentage_used.
32 33 34 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 32 def budget_percentage_used @budget_percentage_used end |
#budget_remaining ⇒ Float? (readonly)
Returns the value of attribute budget_remaining.
33 34 35 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 33 def budget_remaining @budget_remaining end |
#budget_spent ⇒ Float (readonly)
Returns the value of attribute budget_spent.
34 35 36 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 34 def budget_spent @budget_spent end |
#clips ⇒ Integer (readonly)
Returns the value of attribute clips.
35 36 37 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 35 def clips @clips end |
#coupon_id ⇒ String (readonly)
Returns the value of attribute coupon_id.
36 37 38 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 36 def coupon_id @coupon_id end |
#currency_code ⇒ String (readonly)
Returns the value of attribute currency_code.
37 38 39 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 37 def currency_code @currency_code end |
#customer_segment ⇒ String (readonly)
Returns the value of attribute customer_segment.
38 39 40 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 38 def customer_segment @customer_segment end |
#discount_amount ⇒ Float? (readonly)
Returns the value of attribute discount_amount.
39 40 41 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 39 def discount_amount @discount_amount end |
#discount_type ⇒ String? (readonly)
Returns the value of attribute discount_type.
40 41 42 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 40 def discount_type @discount_type end |
#end_date_time ⇒ Time (readonly)
Returns the value of attribute end_date_time.
41 42 43 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 41 def end_date_time @end_date_time end |
#marketplace_id ⇒ String (readonly)
Returns the value of attribute marketplace_id.
42 43 44 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 42 def marketplace_id @marketplace_id end |
#merchant_id ⇒ String (readonly)
Returns the value of attribute merchant_id.
43 44 45 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 43 def merchant_id @merchant_id end |
#name ⇒ String? (readonly)
Returns the value of attribute name.
44 45 46 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 44 def name @name end |
#redemptions ⇒ Integer (readonly)
Returns the value of attribute redemptions.
45 46 47 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 45 def redemptions @redemptions end |
#sales ⇒ Float? (readonly)
Returns the value of attribute sales.
46 47 48 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 46 def sales @sales end |
#start_date_time ⇒ Time (readonly)
Returns the value of attribute start_date_time.
47 48 49 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 47 def start_date_time @start_date_time end |
#total_discount ⇒ Float (readonly)
Returns the value of attribute total_discount.
48 49 50 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 48 def total_discount @total_discount end |
#website_message ⇒ String? (readonly)
Returns the value of attribute website_message.
49 50 51 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 49 def @website_message end |
Class Method Details
.[](asins:, budget_percentage_used:, budget_spent:, clips:, coupon_id:, currency_code:, customer_segment:, end_date_time:, marketplace_id:, merchant_id:, redemptions:, start_date_time:, total_discount:, budget:, budget_remaining:, discount_amount:, discount_type:, name:, sales:, website_message:) ⇒ Peddler::Reports::SellerCoupon::CouponDetails .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) ⇒ Peddler::Reports::SellerCoupon::CouponDetails
23 24 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 23
def self.[]: (asins: Array[Peddler::Reports::SellerCoupon::ASINDetails], budget_percentage_used: Float, budget_spent: Float, clips: Integer, coupon_id: String, currency_code: String, customer_segment: String, end_date_time: Time, marketplace_id: String, merchant_id: String, redemptions: Integer, start_date_time: Time, total_discount: Float, ?budget: Float?, ?budget_remaining: Float?, ?discount_amount: Float?, ?discount_type: String?, ?name: String?, ?sales: Float?, ?website_message: String?) -> Peddler::Reports::SellerCoupon::CouponDetails
| (Array[Peddler::Reports::SellerCoupon::ASINDetails], Float, Float, Integer, String, String, String, Time, String, String, Integer, Time, Float, Float?, Float?, Float?, String?, String?, Float?, String?) -> Peddler::Reports::SellerCoupon::CouponDetails
|
.members ⇒ [ :asins, :budget_percentage_used, :budget_spent, :clips, :coupon_id, :currency_code, :customer_segment, :end_date_time, :marketplace_id, :merchant_id, :redemptions, :start_date_time, :total_discount, :budget, :budget_remaining, :discount_amount, :discount_type, :name, :sales, :website_message ]
26 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 26
def self.members: () -> [ :asins, :budget_percentage_used, :budget_spent, :clips, :coupon_id, :currency_code, :customer_segment, :end_date_time, :marketplace_id, :merchant_id, :redemptions, :start_date_time, :total_discount, :budget, :budget_remaining, :discount_amount, :discount_type, :name, :sales, :website_message ]
|
.new(asins:, budget_percentage_used:, budget_spent:, clips:, coupon_id:, currency_code:, customer_segment:, end_date_time:, marketplace_id:, merchant_id:, redemptions:, start_date_time:, total_discount:, budget:, budget_remaining:, discount_amount:, discount_type:, name:, sales:, website_message:) ⇒ Peddler::Reports::SellerCoupon::CouponDetails .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19) ⇒ Peddler::Reports::SellerCoupon::CouponDetails
21 22 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 21
def self.new: (asins: Array[Peddler::Reports::SellerCoupon::ASINDetails], budget_percentage_used: Float, budget_spent: Float, clips: Integer, coupon_id: String, currency_code: String, customer_segment: String, end_date_time: Time, marketplace_id: String, merchant_id: String, redemptions: Integer, start_date_time: Time, total_discount: Float, ?budget: Float?, ?budget_remaining: Float?, ?discount_amount: Float?, ?discount_type: String?, ?name: String?, ?sales: Float?, ?website_message: String?) -> Peddler::Reports::SellerCoupon::CouponDetails
| (Array[Peddler::Reports::SellerCoupon::ASINDetails], Float, Float, Integer, String, String, String, Time, String, String, Integer, Time, Float, Float?, Float?, Float?, String?, String?, Float?, String?) -> Peddler::Reports::SellerCoupon::CouponDetails
|
.parse ⇒ Peddler::Reports::SellerCoupon::CouponDetails
28 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 28
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Reports::SellerCoupon::CouponDetails
|
Instance Method Details
#members ⇒ [ :asins, :budget_percentage_used, :budget_spent, :clips, :coupon_id, :currency_code, :customer_segment, :end_date_time, :marketplace_id, :merchant_id, :redemptions, :start_date_time, :total_discount, :budget, :budget_remaining, :discount_amount, :discount_type, :name, :sales, :website_message ]
51 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 51
def members: () -> [ :asins, :budget_percentage_used, :budget_spent, :clips, :coupon_id, :currency_code, :customer_segment, :end_date_time, :marketplace_id, :merchant_id, :redemptions, :start_date_time, :total_discount, :budget, :budget_remaining, :discount_amount, :discount_type, :name, :sales, :website_message ]
|
#to_h ⇒ { asins: Array[Peddler::Reports::SellerCoupon::ASINDetails], budget_percentage_used: Float, budget_spent: Float, clips: Integer, coupon_id: String, currency_code: String, customer_segment: String, end_date_time: Time, marketplace_id: String, merchant_id: String, redemptions: Integer, start_date_time: Time, total_discount: Float, budget: Float?, budget_remaining: Float?, discount_amount: Float?, discount_type: String?, name: String?, sales: Float?, website_message: String? }
52 |
# File 'sig/peddler/reports/seller_coupon.rbs', line 52
def to_h: () -> { asins: Array[Peddler::Reports::SellerCoupon::ASINDetails], budget_percentage_used: Float, budget_spent: Float, clips: Integer, coupon_id: String, currency_code: String, customer_segment: String, end_date_time: Time, marketplace_id: String, merchant_id: String, redemptions: Integer, start_date_time: Time, total_discount: Float, budget: Float?, budget_remaining: Float?, discount_amount: Float?, discount_type: String?, name: String?, sales: Float?, website_message: String? }
|