Class: Peddler::APIs::MerchantFulfillmentV0::Benefits
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::MerchantFulfillmentV0::Benefits
- Defined in:
- sig/peddler/apis/merchant_fulfillment_v0.rbs
Instance Attribute Summary collapse
-
#excluded_benefits ⇒ Array[Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit]?
readonly
Returns the value of attribute excluded_benefits.
-
#included_benefits ⇒ Array[String]?
readonly
Returns the value of attribute included_benefits.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :excluded_benefits, :included_benefits ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::MerchantFulfillmentV0::Benefits
Instance Method Summary collapse
-
#members ⇒ [ :excluded_benefits, :included_benefits ]
-
#to_h ⇒ { excluded_benefits: Array[Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit]?, included_benefits: Array[String]? }
Instance Attribute Details
#excluded_benefits ⇒ Array[Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit]? (readonly)
Returns the value of attribute excluded_benefits.
178 179 180 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 178 def excluded_benefits @excluded_benefits end |
#included_benefits ⇒ Array[String]? (readonly)
Returns the value of attribute included_benefits.
179 180 181 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 179 def included_benefits @included_benefits end |
Class Method Details
.[](excluded_benefits:, included_benefits:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Benefits .[](arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::Benefits
171 172 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 171
def self.[]: (?excluded_benefits: Array[Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit]?, ?included_benefits: Array[String]?) -> Peddler::APIs::MerchantFulfillmentV0::Benefits
| (Array[Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit]?, Array[String]?) -> Peddler::APIs::MerchantFulfillmentV0::Benefits
|
.members ⇒ [ :excluded_benefits, :included_benefits ]
174 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 174
def self.members: () -> [ :excluded_benefits, :included_benefits ]
|
.new(excluded_benefits:, included_benefits:) ⇒ Peddler::APIs::MerchantFulfillmentV0::Benefits .new(arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::Benefits
169 170 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 169
def self.new: (?excluded_benefits: Array[Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit]?, ?included_benefits: Array[String]?) -> Peddler::APIs::MerchantFulfillmentV0::Benefits
| (Array[Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit]?, Array[String]?) -> Peddler::APIs::MerchantFulfillmentV0::Benefits
|
.parse ⇒ Peddler::APIs::MerchantFulfillmentV0::Benefits
176 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 176
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::MerchantFulfillmentV0::Benefits
|
Instance Method Details
#members ⇒ [ :excluded_benefits, :included_benefits ]
181 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 181
def members: () -> [ :excluded_benefits, :included_benefits ]
|
#to_h ⇒ { excluded_benefits: Array[Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit]?, included_benefits: Array[String]? }
182 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 182
def to_h: () -> { excluded_benefits: Array[Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit]?, included_benefits: Array[String]? }
|