Class: Peddler::APIs::ProductFeesV0::FeeDetail

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:



36
37
38
# File 'sig/peddler/apis/product_fees_v0.rbs', line 36

def fee_amount
  @fee_amount
end

#fee_promotionPeddler::Money? (readonly)

Returns the value of attribute fee_promotion.

Returns:



37
38
39
# File 'sig/peddler/apis/product_fees_v0.rbs', line 37

def fee_promotion
  @fee_promotion
end

#fee_typeString (readonly)

Returns the value of attribute fee_type.

Returns:

  • (String)


38
39
40
# File 'sig/peddler/apis/product_fees_v0.rbs', line 38

def fee_type
  @fee_type
end

#final_feePeddler::Money (readonly)

Returns the value of attribute final_fee.

Returns:



39
40
41
# File 'sig/peddler/apis/product_fees_v0.rbs', line 39

def final_fee
  @final_fee
end

#included_fee_detail_listArray[Peddler::APIs::ProductFeesV0::IncludedFeeDetail]? (readonly)

Returns the value of attribute included_fee_detail_list.



40
41
42
# File 'sig/peddler/apis/product_fees_v0.rbs', line 40

def included_fee_detail_list
  @included_fee_detail_list
end

#tax_amountPeddler::Money? (readonly)

Returns the value of attribute tax_amount.

Returns:



41
42
43
# File 'sig/peddler/apis/product_fees_v0.rbs', line 41

def tax_amount
  @tax_amount
end

Class Method Details

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

Overloads:



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

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

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

Returns:

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


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

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

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

Overloads:



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

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

.parsePeddler::APIs::ProductFeesV0::FeeDetail

Parameters:

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

Returns:



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

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

Instance Method Details

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

Returns:

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


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

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

#to_h{ fee_amount: Peddler::Money, fee_type: String, final_fee: Peddler::Money, fee_promotion: Peddler::Money?, included_fee_detail_list: Array[Peddler::APIs::ProductFeesV0::IncludedFeeDetail]?, tax_amount: Peddler::Money? }

Returns:



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

def to_h: () -> { fee_amount: Peddler::Money, fee_type: String, final_fee: Peddler::Money, fee_promotion: Peddler::Money?, included_fee_detail_list: Array[Peddler::APIs::ProductFeesV0::IncludedFeeDetail]?, tax_amount: Peddler::Money? }