Class: Peddler::Reports::VendorCoupon::DetailsByCampaign

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/reports/vendor_coupon.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#budget_typeString (readonly)

Returns the value of attribute budget_type.

Returns:

  • (String)


63
64
65
# File 'sig/peddler/reports/vendor_coupon.rbs', line 63

def budget_type
  @budget_type
end

#campaign_idString (readonly)

Returns the value of attribute campaign_id.

Returns:

  • (String)


64
65
66
# File 'sig/peddler/reports/vendor_coupon.rbs', line 64

def campaign_id
  @campaign_id
end

#campaign_nameString (readonly)

Returns the value of attribute campaign_name.

Returns:

  • (String)


65
66
67
# File 'sig/peddler/reports/vendor_coupon.rbs', line 65

def campaign_name
  @campaign_name
end

#couponsArray[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_timeTime (readonly)

Returns the value of attribute creation_date_time.

Returns:

  • (Time)


67
68
69
# File 'sig/peddler/reports/vendor_coupon.rbs', line 67

def creation_date_time
  @creation_date_time
end

#currency_codeString? (readonly)

Returns the value of attribute currency_code.

Returns:

  • (String, nil)


68
69
70
# File 'sig/peddler/reports/vendor_coupon.rbs', line 68

def currency_code
  @currency_code
end

#last_updated_date_timeTime (readonly)

Returns the value of attribute last_updated_date_time.

Returns:

  • (Time)


69
70
71
# File 'sig/peddler/reports/vendor_coupon.rbs', line 69

def last_updated_date_time
  @last_updated_date_time
end

#marketplace_idString (readonly)

Returns the value of attribute marketplace_id.

Returns:

  • (String)


70
71
72
# File 'sig/peddler/reports/vendor_coupon.rbs', line 70

def marketplace_id
  @marketplace_id
end

#subscribe_and_saveBoolean (readonly)

Returns the value of attribute subscribe_and_save.

Returns:

  • (Boolean)


71
72
73
# File 'sig/peddler/reports/vendor_coupon.rbs', line 71

def subscribe_and_save
  @subscribe_and_save
end

#total_budgetFloat? (readonly)

Returns the value of attribute total_budget.

Returns:

  • (Float, nil)


72
73
74
# File 'sig/peddler/reports/vendor_coupon.rbs', line 72

def total_budget
  @total_budget
end

#total_budget_remainingFloat? (readonly)

Returns the value of attribute total_budget_remaining.

Returns:

  • (Float, nil)


73
74
75
# File 'sig/peddler/reports/vendor_coupon.rbs', line 73

def total_budget_remaining
  @total_budget_remaining
end

#total_budget_spentFloat? (readonly)

Returns the value of attribute total_budget_spent.

Returns:

  • (Float, nil)


74
75
76
# File 'sig/peddler/reports/vendor_coupon.rbs', line 74

def total_budget_spent
  @total_budget_spent
end

#total_clipsInteger (readonly)

Returns the value of attribute total_clips.

Returns:

  • (Integer)


75
76
77
# File 'sig/peddler/reports/vendor_coupon.rbs', line 75

def total_clips
  @total_clips
end

#total_redemptionsInteger (readonly)

Returns the value of attribute total_redemptions.

Returns:

  • (Integer)


76
77
78
# File 'sig/peddler/reports/vendor_coupon.rbs', line 76

def total_redemptions
  @total_redemptions
end

#vendor_codeString (readonly)

Returns the value of attribute vendor_code.

Returns:

  • (String)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::Reports::VendorCoupon::DetailsByCampaign

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



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 ]

Returns:

  • ([ :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

Returns:

  • (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? }

Returns:

  • ({ 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? }