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.



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

def coupons
  @coupons
end

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

Returns the value of attribute report_specification.



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

def report_specification
  @report_specification
end

Class Method Details

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



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

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 ])


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

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

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



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

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:



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

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

Instance Method Details

#members[ :coupons, :report_specification ]

Returns:

  • ([ :coupons, :report_specification ])


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

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

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



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

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