Class: Peddler::APIs::ProductFeesV0::IncludedFeeDetail
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ProductFeesV0::IncludedFeeDetail
- Defined in:
- sig/peddler/apis/product_fees_v0.rbs
Instance Attribute Summary collapse
-
#fee_amount ⇒ Peddler::Money
readonly
Returns the value of attribute fee_amount.
-
#fee_promotion ⇒ Peddler::Money?
readonly
Returns the value of attribute fee_promotion.
-
#fee_type ⇒ String
readonly
Returns the value of attribute fee_type.
-
#final_fee ⇒ Peddler::Money
readonly
Returns the value of attribute final_fee.
-
#tax_amount ⇒ Peddler::Money?
readonly
Returns the value of attribute tax_amount.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :fee_amount, :fee_type, :final_fee, :fee_promotion, :tax_amount ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ProductFeesV0::IncludedFeeDetail
Instance Method Summary collapse
-
#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? }
Instance Attribute Details
#fee_amount ⇒ Peddler::Money (readonly)
Returns the value of attribute fee_amount.
257 258 259 |
# File 'sig/peddler/apis/product_fees_v0.rbs', line 257 def fee_amount @fee_amount end |
#fee_promotion ⇒ Peddler::Money? (readonly)
Returns the value of attribute fee_promotion.
258 259 260 |
# File 'sig/peddler/apis/product_fees_v0.rbs', line 258 def fee_promotion @fee_promotion end |
#fee_type ⇒ String (readonly)
Returns the value of attribute fee_type.
259 260 261 |
# File 'sig/peddler/apis/product_fees_v0.rbs', line 259 def fee_type @fee_type end |
#final_fee ⇒ Peddler::Money (readonly)
Returns the value of attribute final_fee.
260 261 262 |
# File 'sig/peddler/apis/product_fees_v0.rbs', line 260 def final_fee @final_fee end |
#tax_amount ⇒ Peddler::Money? (readonly)
Returns the value of attribute tax_amount.
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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::ProductFeesV0::IncludedFeeDetail
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 ]
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? }
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? }
|