Class: Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit
- Defined in:
- sig/peddler/apis/merchant_fulfillment_v0.rbs
Instance Attribute Summary collapse
-
#benefit ⇒ String?
readonly
Returns the value of attribute benefit.
-
#reason_codes ⇒ Array[String]?
readonly
Returns the value of attribute reason_codes.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :benefit, :reason_codes ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit
Instance Method Summary collapse
Instance Attribute Details
#benefit ⇒ String? (readonly)
Returns the value of attribute benefit.
312 313 314 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 312 def benefit @benefit end |
#reason_codes ⇒ Array[String]? (readonly)
Returns the value of attribute reason_codes.
313 314 315 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 313 def reason_codes @reason_codes end |
Class Method Details
.[](benefit:, reason_codes:) ⇒ Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit .[](arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit
305 306 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 305
def self.[]: (?benefit: String?, ?reason_codes: Array[String]?) -> Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit
| (String?, Array[String]?) -> Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit
|
.members ⇒ [ :benefit, :reason_codes ]
308 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 308
def self.members: () -> [ :benefit, :reason_codes ]
|
.new(benefit:, reason_codes:) ⇒ Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit .new(arg0, arg1) ⇒ Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit
303 304 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 303
def self.new: (?benefit: String?, ?reason_codes: Array[String]?) -> Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit
| (String?, Array[String]?) -> Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit
|
.parse ⇒ Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit
310 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 310
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::MerchantFulfillmentV0::ExcludedBenefit
|
Instance Method Details
#members ⇒ [ :benefit, :reason_codes ]
315 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 315
def members: () -> [ :benefit, :reason_codes ]
|
#to_h ⇒ { benefit: String?, reason_codes: Array[String]? }
316 |
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 316
def to_h: () -> { benefit: String?, reason_codes: Array[String]? }
|