Class: Peddler::Notifications::FeePromotion::FeeDetail

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/fee_promotion.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fee_amountPeddler::Notifications::FeePromotion::FeeAmount (readonly)

Returns the value of attribute fee_amount.



31
32
33
# File 'sig/peddler/notifications/fee_promotion.rbs', line 31

def fee_amount
  @fee_amount
end

#fee_promotionPeddler::Notifications::FeePromotion::FeePromotion? (readonly)

Returns the value of attribute fee_promotion.



32
33
34
# File 'sig/peddler/notifications/fee_promotion.rbs', line 32

def fee_promotion
  @fee_promotion
end

#fee_typeString (readonly)

Returns the value of attribute fee_type.

Returns:

  • (String)


33
34
35
# File 'sig/peddler/notifications/fee_promotion.rbs', line 33

def fee_type
  @fee_type
end

#final_feePeddler::Notifications::FeePromotion::FinalFee (readonly)

Returns the value of attribute final_fee.



34
35
36
# File 'sig/peddler/notifications/fee_promotion.rbs', line 34

def final_fee
  @final_fee
end

#included_feesArray[untyped]? (readonly)

Returns the value of attribute included_fees.

Returns:

  • (Array[untyped], nil)


35
36
37
# File 'sig/peddler/notifications/fee_promotion.rbs', line 35

def included_fees
  @included_fees
end

#tax_amountPeddler::Notifications::FeePromotion::TaxAmount? (readonly)

Returns the value of attribute tax_amount.



36
37
38
# File 'sig/peddler/notifications/fee_promotion.rbs', line 36

def tax_amount
  @tax_amount
end

Class Method Details

.[](fee_amount:, fee_type:, final_fee:, fee_promotion:, included_fees:, tax_amount:) ⇒ Peddler::Notifications::FeePromotion::FeeDetail .[](arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::Notifications::FeePromotion::FeeDetail

Overloads:



24
25
# File 'sig/peddler/notifications/fee_promotion.rbs', line 24

def self.[]: (fee_amount: Peddler::Notifications::FeePromotion::FeeAmount, fee_type: String, final_fee: Peddler::Notifications::FeePromotion::FinalFee, ?fee_promotion: Peddler::Notifications::FeePromotion::FeePromotion?, ?included_fees: Array[untyped]?, ?tax_amount: Peddler::Notifications::FeePromotion::TaxAmount?) -> Peddler::Notifications::FeePromotion::FeeDetail
| (Peddler::Notifications::FeePromotion::FeeAmount, String, Peddler::Notifications::FeePromotion::FinalFee, Peddler::Notifications::FeePromotion::FeePromotion?, Array[untyped]?, Peddler::Notifications::FeePromotion::TaxAmount?) -> Peddler::Notifications::FeePromotion::FeeDetail

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

Returns:

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


27
# File 'sig/peddler/notifications/fee_promotion.rbs', line 27

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

.new(fee_amount:, fee_type:, final_fee:, fee_promotion:, included_fees:, tax_amount:) ⇒ Peddler::Notifications::FeePromotion::FeeDetail .new(arg0, arg1, arg2, arg3, arg4, arg5) ⇒ Peddler::Notifications::FeePromotion::FeeDetail

Overloads:



22
23
# File 'sig/peddler/notifications/fee_promotion.rbs', line 22

def self.new: (fee_amount: Peddler::Notifications::FeePromotion::FeeAmount, fee_type: String, final_fee: Peddler::Notifications::FeePromotion::FinalFee, ?fee_promotion: Peddler::Notifications::FeePromotion::FeePromotion?, ?included_fees: Array[untyped]?, ?tax_amount: Peddler::Notifications::FeePromotion::TaxAmount?) -> Peddler::Notifications::FeePromotion::FeeDetail
| (Peddler::Notifications::FeePromotion::FeeAmount, String, Peddler::Notifications::FeePromotion::FinalFee, Peddler::Notifications::FeePromotion::FeePromotion?, Array[untyped]?, Peddler::Notifications::FeePromotion::TaxAmount?) -> Peddler::Notifications::FeePromotion::FeeDetail

.parsePeddler::Notifications::FeePromotion::FeeDetail

Parameters:

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

Returns:



29
# File 'sig/peddler/notifications/fee_promotion.rbs', line 29

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

Instance Method Details

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

Returns:

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


38
# File 'sig/peddler/notifications/fee_promotion.rbs', line 38

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

#to_h{ fee_amount: Peddler::Notifications::FeePromotion::FeeAmount, fee_type: String, final_fee: Peddler::Notifications::FeePromotion::FinalFee, fee_promotion: Peddler::Notifications::FeePromotion::FeePromotion?, included_fees: Array[untyped]?, tax_amount: Peddler::Notifications::FeePromotion::TaxAmount? }



39
# File 'sig/peddler/notifications/fee_promotion.rbs', line 39

def to_h: () -> { fee_amount: Peddler::Notifications::FeePromotion::FeeAmount, fee_type: String, final_fee: Peddler::Notifications::FeePromotion::FinalFee, fee_promotion: Peddler::Notifications::FeePromotion::FeePromotion?, included_fees: Array[untyped]?, tax_amount: Peddler::Notifications::FeePromotion::TaxAmount? }