Class: Peddler::APIs::MerchantFulfillmentV0::RateItem

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

#rate_item_chargePeddler::Money? (readonly)

Returns the value of attribute rate_item_charge.

Returns:



679
680
681
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 679

def rate_item_charge
  @rate_item_charge
end

#rate_item_idString (readonly)

Returns the value of attribute rate_item_id.

Returns:

  • (String)


680
681
682
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 680

def rate_item_id
  @rate_item_id
end

#rate_item_name_localizationString? (readonly)

Returns the value of attribute rate_item_name_localization.

Returns:

  • (String, nil)


681
682
683
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 681

def rate_item_name_localization
  @rate_item_name_localization
end

#rate_item_typeString? (readonly)

Returns the value of attribute rate_item_type.

Returns:

  • (String, nil)


682
683
684
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 682

def rate_item_type
  @rate_item_type
end

Class Method Details

.[](rate_item_id:, rate_item_charge:, rate_item_name_localization:, rate_item_type:) ⇒ Peddler::APIs::MerchantFulfillmentV0::RateItem .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::MerchantFulfillmentV0::RateItem

Overloads:



672
673
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 672

def self.[]: (rate_item_id: String, ?rate_item_charge: Peddler::Money?, ?rate_item_name_localization: String?, ?rate_item_type: String?) -> Peddler::APIs::MerchantFulfillmentV0::RateItem
| (String, Peddler::Money?, String?, String?) -> Peddler::APIs::MerchantFulfillmentV0::RateItem

.members[ :rate_item_id, :rate_item_charge, :rate_item_name_localization, :rate_item_type ]

Returns:

  • ([ :rate_item_id, :rate_item_charge, :rate_item_name_localization, :rate_item_type ])


675
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 675

def self.members: () -> [ :rate_item_id, :rate_item_charge, :rate_item_name_localization, :rate_item_type ]

.new(rate_item_id:, rate_item_charge:, rate_item_name_localization:, rate_item_type:) ⇒ Peddler::APIs::MerchantFulfillmentV0::RateItem .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::MerchantFulfillmentV0::RateItem

Overloads:



670
671
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 670

def self.new: (rate_item_id: String, ?rate_item_charge: Peddler::Money?, ?rate_item_name_localization: String?, ?rate_item_type: String?) -> Peddler::APIs::MerchantFulfillmentV0::RateItem
| (String, Peddler::Money?, String?, String?) -> Peddler::APIs::MerchantFulfillmentV0::RateItem

.parsePeddler::APIs::MerchantFulfillmentV0::RateItem

Parameters:

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

Returns:



677
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 677

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::MerchantFulfillmentV0::RateItem

Instance Method Details

#members[ :rate_item_id, :rate_item_charge, :rate_item_name_localization, :rate_item_type ]

Returns:

  • ([ :rate_item_id, :rate_item_charge, :rate_item_name_localization, :rate_item_type ])


684
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 684

def members: () -> [ :rate_item_id, :rate_item_charge, :rate_item_name_localization, :rate_item_type ]

#to_h{ rate_item_id: String, rate_item_charge: Peddler::Money?, rate_item_name_localization: String?, rate_item_type: String? }

Returns:

  • ({ rate_item_id: String, rate_item_charge: Peddler::Money?, rate_item_name_localization: String?, rate_item_type: String? })


685
# File 'sig/peddler/apis/merchant_fulfillment_v0.rbs', line 685

def to_h: () -> { rate_item_id: String, rate_item_charge: Peddler::Money?, rate_item_name_localization: String?, rate_item_type: String? }