Class: Peddler::APIs::ProductFeesV0::IncludedFeeDetail

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fee_amountPeddler::Money (readonly)

Returns the value of attribute fee_amount.

Returns:



257
258
259
# File 'sig/peddler/apis/product_fees_v0.rbs', line 257

def fee_amount
  @fee_amount
end

#fee_promotionPeddler::Money? (readonly)

Returns the value of attribute fee_promotion.

Returns:



258
259
260
# File 'sig/peddler/apis/product_fees_v0.rbs', line 258

def fee_promotion
  @fee_promotion
end

#fee_typeString (readonly)

Returns the value of attribute fee_type.

Returns:

  • (String)


259
260
261
# File 'sig/peddler/apis/product_fees_v0.rbs', line 259

def fee_type
  @fee_type
end

#final_feePeddler::Money (readonly)

Returns the value of attribute final_fee.

Returns:



260
261
262
# File 'sig/peddler/apis/product_fees_v0.rbs', line 260

def final_fee
  @final_fee
end

#tax_amountPeddler::Money? (readonly)

Returns the value of attribute tax_amount.

Returns:



261
262
263
# File 'sig/peddler/apis/product_fees_v0.rbs', line 261

def tax_amount
  @tax_amount
end

Class Method Details

.[](fee_amount:, fee_type:, final_fee:, fee_promotion:, tax_amount:) ⇒ Peddler::APIs::ProductFeesV0::IncludedFeeDetail .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::ProductFeesV0::IncludedFeeDetail

Overloads:



250
251
# File 'sig/peddler/apis/product_fees_v0.rbs', line 250

def self.[]: (fee_amount: Peddler::Money, fee_type: String, final_fee: Peddler::Money, ?fee_promotion: Peddler::Money?, ?tax_amount: Peddler::Money?) -> Peddler::APIs::ProductFeesV0::IncludedFeeDetail
| (Peddler::Money, String, Peddler::Money, Peddler::Money?, Peddler::Money?) -> Peddler::APIs::ProductFeesV0::IncludedFeeDetail

.members[ :fee_amount, :fee_type, :final_fee, :fee_promotion, :tax_amount ]

Returns:

  • ([ :fee_amount, :fee_type, :final_fee, :fee_promotion, :tax_amount ])


253
# File 'sig/peddler/apis/product_fees_v0.rbs', line 253

def self.members: () -> [ :fee_amount, :fee_type, :final_fee, :fee_promotion, :tax_amount ]

.new(fee_amount:, fee_type:, final_fee:, fee_promotion:, tax_amount:) ⇒ Peddler::APIs::ProductFeesV0::IncludedFeeDetail .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::ProductFeesV0::IncludedFeeDetail

Overloads:



248
249
# File 'sig/peddler/apis/product_fees_v0.rbs', line 248

def self.new: (fee_amount: Peddler::Money, fee_type: String, final_fee: Peddler::Money, ?fee_promotion: Peddler::Money?, ?tax_amount: Peddler::Money?) -> Peddler::APIs::ProductFeesV0::IncludedFeeDetail
| (Peddler::Money, String, Peddler::Money, Peddler::Money?, Peddler::Money?) -> Peddler::APIs::ProductFeesV0::IncludedFeeDetail

.parsePeddler::APIs::ProductFeesV0::IncludedFeeDetail

Parameters:

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

Returns:



255
# File 'sig/peddler/apis/product_fees_v0.rbs', line 255

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

Instance Method Details

#members[ :fee_amount, :fee_type, :final_fee, :fee_promotion, :tax_amount ]

Returns:

  • ([ :fee_amount, :fee_type, :final_fee, :fee_promotion, :tax_amount ])


263
# File 'sig/peddler/apis/product_fees_v0.rbs', line 263

def members: () -> [ :fee_amount, :fee_type, :final_fee, :fee_promotion, :tax_amount ]

#to_h{ fee_amount: Peddler::Money, fee_type: String, final_fee: Peddler::Money, fee_promotion: Peddler::Money?, tax_amount: Peddler::Money? }

Returns:



264
# File 'sig/peddler/apis/product_fees_v0.rbs', line 264

def to_h: () -> { fee_amount: Peddler::Money, fee_type: String, final_fee: Peddler::Money, fee_promotion: Peddler::Money?, tax_amount: Peddler::Money? }