Class: Peddler::APIs::MerchantFulfillmentV0::Benefits

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/merchant_fulfillment_v0.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#excluded_benefitsArray[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_benefitsArray[String]? (readonly)

Returns the value of attribute included_benefits.

Returns:

  • (Array[String], nil)


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

Overloads:



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 ]

Returns:

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

Overloads:



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

.parsePeddler::APIs::MerchantFulfillmentV0::Benefits

Parameters:

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

Returns:



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 ]

Returns:

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

Returns:



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]? }