Class: Peddler::Reports::SellerCoupon::Report

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#couponsArray[Peddler::Reports::SellerCoupon::CouponDetails] (readonly)

Returns the value of attribute coupons.



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

def coupons
  @coupons
end

#report_specificationPeddler::Reports::SellerCoupon::ReportSpecification (readonly)

Returns the value of attribute report_specification.



66
67
68
# File 'sig/peddler/reports/seller_coupon.rbs', line 66

def report_specification
  @report_specification
end

Class Method Details

.[](coupons:, report_specification:) ⇒ Peddler::Reports::SellerCoupon::Report .[](arg0, arg1) ⇒ Peddler::Reports::SellerCoupon::Report



58
59
# File 'sig/peddler/reports/seller_coupon.rbs', line 58

def self.[]: (coupons: Array[Peddler::Reports::SellerCoupon::CouponDetails], report_specification: Peddler::Reports::SellerCoupon::ReportSpecification) -> Peddler::Reports::SellerCoupon::Report
| (Array[Peddler::Reports::SellerCoupon::CouponDetails], Peddler::Reports::SellerCoupon::ReportSpecification) -> Peddler::Reports::SellerCoupon::Report

.members[ :coupons, :report_specification ]

Returns:

  • ([ :coupons, :report_specification ])


61
# File 'sig/peddler/reports/seller_coupon.rbs', line 61

def self.members: () -> [ :coupons, :report_specification ]

.new(coupons:, report_specification:) ⇒ Peddler::Reports::SellerCoupon::Report .new(arg0, arg1) ⇒ Peddler::Reports::SellerCoupon::Report



56
57
# File 'sig/peddler/reports/seller_coupon.rbs', line 56

def self.new: (coupons: Array[Peddler::Reports::SellerCoupon::CouponDetails], report_specification: Peddler::Reports::SellerCoupon::ReportSpecification) -> Peddler::Reports::SellerCoupon::Report
| (Array[Peddler::Reports::SellerCoupon::CouponDetails], Peddler::Reports::SellerCoupon::ReportSpecification) -> Peddler::Reports::SellerCoupon::Report

.parsePeddler::Reports::SellerCoupon::Report

Parameters:

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

Returns:



63
# File 'sig/peddler/reports/seller_coupon.rbs', line 63

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Reports::SellerCoupon::Report

Instance Method Details

#members[ :coupons, :report_specification ]

Returns:

  • ([ :coupons, :report_specification ])


68
# File 'sig/peddler/reports/seller_coupon.rbs', line 68

def members: () -> [ :coupons, :report_specification ]

#to_h{ coupons: Array[Peddler::Reports::SellerCoupon::CouponDetails], report_specification: Peddler::Reports::SellerCoupon::ReportSpecification }



69
# File 'sig/peddler/reports/seller_coupon.rbs', line 69

def to_h: () -> { coupons: Array[Peddler::Reports::SellerCoupon::CouponDetails], report_specification: Peddler::Reports::SellerCoupon::ReportSpecification }