Class: Peddler::Reports::VendorCoupon::DetailsByCampaign
- Inherits:
-
Data
- Object
- Data
- Peddler::Reports::VendorCoupon::DetailsByCampaign
- Defined in:
- sig/peddler/reports/vendor_coupon.rbs
Instance Attribute Summary collapse
-
#budget_type ⇒ String
readonly
Returns the value of attribute budget_type.
-
#campaign_id ⇒ String
readonly
Returns the value of attribute campaign_id.
-
#campaign_name ⇒ String
readonly
Returns the value of attribute campaign_name.
-
#coupons ⇒ Array[Peddler::Reports::VendorCoupon::CouponDetails]
readonly
Returns the value of attribute coupons.
-
#creation_date_time ⇒ Time
readonly
Returns the value of attribute creation_date_time.
-
#currency_code ⇒ String?
readonly
Returns the value of attribute currency_code.
-
#last_updated_date_time ⇒ Time
readonly
Returns the value of attribute last_updated_date_time.
-
#marketplace_id ⇒ String
readonly
Returns the value of attribute marketplace_id.
-
#subscribe_and_save ⇒ Boolean
readonly
Returns the value of attribute subscribe_and_save.
-
#total_budget ⇒ Float?
readonly
Returns the value of attribute total_budget.
-
#total_budget_remaining ⇒ Float?
readonly
Returns the value of attribute total_budget_remaining.
-
#total_budget_spent ⇒ Float?
readonly
Returns the value of attribute total_budget_spent.
-
#total_clips ⇒ Integer
readonly
Returns the value of attribute total_clips.
-
#total_redemptions ⇒ Integer
readonly
Returns the value of attribute total_redemptions.
-
#vendor_code ⇒ String
readonly
Returns the value of attribute vendor_code.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :budget_type, :campaign_id, :campaign_name, :coupons, :creation_date_time, :subscribe_and_save, :last_updated_date_time, :marketplace_id, :total_clips, :total_redemptions, :vendor_code, :currency_code, :total_budget, :total_budget_remaining, :total_budget_spent ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Reports::VendorCoupon::DetailsByCampaign
Instance Method Summary collapse
-
#members ⇒ [ :budget_type, :campaign_id, :campaign_name, :coupons, :creation_date_time, :subscribe_and_save, :last_updated_date_time, :marketplace_id, :total_clips, :total_redemptions, :vendor_code, :currency_code, :total_budget, :total_budget_remaining, :total_budget_spent ]
-
#subscribe_and_save? ⇒ Boolean
-
#to_h ⇒ { budget_type: String, campaign_id: String, campaign_name: String, coupons: Array[Peddler::Reports::VendorCoupon::CouponDetails], creation_date_time: Time, subscribe_and_save: bool, last_updated_date_time: Time, marketplace_id: String, total_clips: Integer, total_redemptions: Integer, vendor_code: String, currency_code: String?, total_budget: Float?, total_budget_remaining: Float?, total_budget_spent: Float? }
Instance Attribute Details
#budget_type ⇒ String (readonly)
Returns the value of attribute budget_type.
63 64 65 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 63 def budget_type @budget_type end |
#campaign_id ⇒ String (readonly)
Returns the value of attribute campaign_id.
64 65 66 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 64 def campaign_id @campaign_id end |
#campaign_name ⇒ String (readonly)
Returns the value of attribute campaign_name.
65 66 67 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 65 def campaign_name @campaign_name end |
#coupons ⇒ Array[Peddler::Reports::VendorCoupon::CouponDetails] (readonly)
Returns the value of attribute coupons.
66 67 68 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 66 def coupons @coupons end |
#creation_date_time ⇒ Time (readonly)
Returns the value of attribute creation_date_time.
67 68 69 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 67 def creation_date_time @creation_date_time end |
#currency_code ⇒ String? (readonly)
Returns the value of attribute currency_code.
68 69 70 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 68 def currency_code @currency_code end |
#last_updated_date_time ⇒ Time (readonly)
Returns the value of attribute last_updated_date_time.
69 70 71 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 69 def last_updated_date_time @last_updated_date_time end |
#marketplace_id ⇒ String (readonly)
Returns the value of attribute marketplace_id.
70 71 72 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 70 def marketplace_id @marketplace_id end |
#subscribe_and_save ⇒ Boolean (readonly)
Returns the value of attribute subscribe_and_save.
71 72 73 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 71 def subscribe_and_save @subscribe_and_save end |
#total_budget ⇒ Float? (readonly)
Returns the value of attribute total_budget.
72 73 74 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 72 def total_budget @total_budget end |
#total_budget_remaining ⇒ Float? (readonly)
Returns the value of attribute total_budget_remaining.
73 74 75 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 73 def total_budget_remaining @total_budget_remaining end |
#total_budget_spent ⇒ Float? (readonly)
Returns the value of attribute total_budget_spent.
74 75 76 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 74 def total_budget_spent @total_budget_spent end |
#total_clips ⇒ Integer (readonly)
Returns the value of attribute total_clips.
75 76 77 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 75 def total_clips @total_clips end |
#total_redemptions ⇒ Integer (readonly)
Returns the value of attribute total_redemptions.
76 77 78 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 76 def total_redemptions @total_redemptions end |
#vendor_code ⇒ String (readonly)
Returns the value of attribute vendor_code.
77 78 79 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 77 def vendor_code @vendor_code end |
Class Method Details
.[](budget_type:, campaign_id:, campaign_name:, coupons:, creation_date_time:, subscribe_and_save:, last_updated_date_time:, marketplace_id:, total_clips:, total_redemptions:, vendor_code:, currency_code:, total_budget:, total_budget_remaining:, total_budget_spent:) ⇒ Peddler::Reports::VendorCoupon::DetailsByCampaign .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) ⇒ Peddler::Reports::VendorCoupon::DetailsByCampaign
56 57 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 56
def self.[]: (budget_type: String, campaign_id: String, campaign_name: String, coupons: Array[Peddler::Reports::VendorCoupon::CouponDetails], creation_date_time: Time, subscribe_and_save: bool, last_updated_date_time: Time, marketplace_id: String, total_clips: Integer, total_redemptions: Integer, vendor_code: String, ?currency_code: String?, ?total_budget: Float?, ?total_budget_remaining: Float?, ?total_budget_spent: Float?) -> Peddler::Reports::VendorCoupon::DetailsByCampaign
| (String, String, String, Array[Peddler::Reports::VendorCoupon::CouponDetails], Time, bool, Time, String, Integer, Integer, String, String?, Float?, Float?, Float?) -> Peddler::Reports::VendorCoupon::DetailsByCampaign
|
.members ⇒ [ :budget_type, :campaign_id, :campaign_name, :coupons, :creation_date_time, :subscribe_and_save, :last_updated_date_time, :marketplace_id, :total_clips, :total_redemptions, :vendor_code, :currency_code, :total_budget, :total_budget_remaining, :total_budget_spent ]
59 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 59
def self.members: () -> [ :budget_type, :campaign_id, :campaign_name, :coupons, :creation_date_time, :subscribe_and_save, :last_updated_date_time, :marketplace_id, :total_clips, :total_redemptions, :vendor_code, :currency_code, :total_budget, :total_budget_remaining, :total_budget_spent ]
|
.new(budget_type:, campaign_id:, campaign_name:, coupons:, creation_date_time:, subscribe_and_save:, last_updated_date_time:, marketplace_id:, total_clips:, total_redemptions:, vendor_code:, currency_code:, total_budget:, total_budget_remaining:, total_budget_spent:) ⇒ Peddler::Reports::VendorCoupon::DetailsByCampaign .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) ⇒ Peddler::Reports::VendorCoupon::DetailsByCampaign
54 55 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 54
def self.new: (budget_type: String, campaign_id: String, campaign_name: String, coupons: Array[Peddler::Reports::VendorCoupon::CouponDetails], creation_date_time: Time, subscribe_and_save: bool, last_updated_date_time: Time, marketplace_id: String, total_clips: Integer, total_redemptions: Integer, vendor_code: String, ?currency_code: String?, ?total_budget: Float?, ?total_budget_remaining: Float?, ?total_budget_spent: Float?) -> Peddler::Reports::VendorCoupon::DetailsByCampaign
| (String, String, String, Array[Peddler::Reports::VendorCoupon::CouponDetails], Time, bool, Time, String, Integer, Integer, String, String?, Float?, Float?, Float?) -> Peddler::Reports::VendorCoupon::DetailsByCampaign
|
.parse ⇒ Peddler::Reports::VendorCoupon::DetailsByCampaign
61 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 61
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Reports::VendorCoupon::DetailsByCampaign
|
Instance Method Details
#members ⇒ [ :budget_type, :campaign_id, :campaign_name, :coupons, :creation_date_time, :subscribe_and_save, :last_updated_date_time, :marketplace_id, :total_clips, :total_redemptions, :vendor_code, :currency_code, :total_budget, :total_budget_remaining, :total_budget_spent ]
79 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 79
def members: () -> [ :budget_type, :campaign_id, :campaign_name, :coupons, :creation_date_time, :subscribe_and_save, :last_updated_date_time, :marketplace_id, :total_clips, :total_redemptions, :vendor_code, :currency_code, :total_budget, :total_budget_remaining, :total_budget_spent ]
|
#subscribe_and_save? ⇒ Boolean
80 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 80
def subscribe_and_save?: () -> bool
|
#to_h ⇒ { budget_type: String, campaign_id: String, campaign_name: String, coupons: Array[Peddler::Reports::VendorCoupon::CouponDetails], creation_date_time: Time, subscribe_and_save: bool, last_updated_date_time: Time, marketplace_id: String, total_clips: Integer, total_redemptions: Integer, vendor_code: String, currency_code: String?, total_budget: Float?, total_budget_remaining: Float?, total_budget_spent: Float? }
81 |
# File 'sig/peddler/reports/vendor_coupon.rbs', line 81
def to_h: () -> { budget_type: String, campaign_id: String, campaign_name: String, coupons: Array[Peddler::Reports::VendorCoupon::CouponDetails], creation_date_time: Time, subscribe_and_save: bool, last_updated_date_time: Time, marketplace_id: String, total_clips: Integer, total_redemptions: Integer, vendor_code: String, currency_code: String?, total_budget: Float?, total_budget_remaining: Float?, total_budget_spent: Float? }
|