Class: Peddler::Notifications::FeePromotion::IncludedFee

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.



194
195
196
# File 'sig/peddler/notifications/fee_promotion.rbs', line 194

def fee_amount
  @fee_amount
end

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

Returns the value of attribute fee_promotion.



195
196
197
# File 'sig/peddler/notifications/fee_promotion.rbs', line 195

def fee_promotion
  @fee_promotion
end

#fee_typeString (readonly)

Returns the value of attribute fee_type.

Returns:

  • (String)


196
197
198
# File 'sig/peddler/notifications/fee_promotion.rbs', line 196

def fee_type
  @fee_type
end

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

Returns the value of attribute final_fee.



197
198
199
# File 'sig/peddler/notifications/fee_promotion.rbs', line 197

def final_fee
  @final_fee
end

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

Returns the value of attribute tax_amount.



198
199
200
# File 'sig/peddler/notifications/fee_promotion.rbs', line 198

def tax_amount
  @tax_amount
end

Class Method Details

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



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

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

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

Returns:

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


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

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

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



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

def self.new: (fee_amount: Peddler::Notifications::FeePromotion::FeeAmount, fee_promotion: Peddler::Notifications::FeePromotion::FeePromotion, fee_type: String, final_fee: Peddler::Notifications::FeePromotion::FinalFee, tax_amount: Peddler::Notifications::FeePromotion::TaxAmount) -> Peddler::Notifications::FeePromotion::IncludedFee
| (Peddler::Notifications::FeePromotion::FeeAmount, Peddler::Notifications::FeePromotion::FeePromotion, String, Peddler::Notifications::FeePromotion::FinalFee, Peddler::Notifications::FeePromotion::TaxAmount) -> Peddler::Notifications::FeePromotion::IncludedFee

.parsePeddler::Notifications::FeePromotion::IncludedFee

Parameters:

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

Returns:



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

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

Instance Method Details

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

Returns:

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


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

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

#to_h{ fee_amount: Peddler::Notifications::FeePromotion::FeeAmount, fee_promotion: Peddler::Notifications::FeePromotion::FeePromotion, fee_type: String, final_fee: Peddler::Notifications::FeePromotion::FinalFee, tax_amount: Peddler::Notifications::FeePromotion::TaxAmount }



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

def to_h: () -> { fee_amount: Peddler::Notifications::FeePromotion::FeeAmount, fee_promotion: Peddler::Notifications::FeePromotion::FeePromotion, fee_type: String, final_fee: Peddler::Notifications::FeePromotion::FinalFee, tax_amount: Peddler::Notifications::FeePromotion::TaxAmount }