Class: Peddler::APIs::VendorInvoicesV1::TaxDetails
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::VendorInvoicesV1::TaxDetails
- Defined in:
- sig/peddler/apis/vendor_invoices_v1.rbs
Instance Attribute Summary collapse
-
#tax_amount ⇒ Peddler::Money
readonly
Returns the value of attribute tax_amount.
-
#tax_rate ⇒ String?
readonly
Returns the value of attribute tax_rate.
-
#tax_type ⇒ String
readonly
Returns the value of attribute tax_type.
-
#taxable_amount ⇒ Peddler::Money?
readonly
Returns the value of attribute taxable_amount.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :tax_amount, :tax_type, :tax_rate, :taxable_amount ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::VendorInvoicesV1::TaxDetails
Instance Method Summary collapse
-
#members ⇒ [ :tax_amount, :tax_type, :tax_rate, :taxable_amount ]
-
#to_h ⇒ { tax_amount: Peddler::Money, tax_type: String, tax_rate: String?, taxable_amount: Peddler::Money? }
Instance Attribute Details
#tax_amount ⇒ Peddler::Money (readonly)
Returns the value of attribute tax_amount.
312 313 314 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 312 def tax_amount @tax_amount end |
#tax_rate ⇒ String? (readonly)
Returns the value of attribute tax_rate.
313 314 315 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 313 def tax_rate @tax_rate end |
#tax_type ⇒ String (readonly)
Returns the value of attribute tax_type.
314 315 316 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 314 def tax_type @tax_type end |
#taxable_amount ⇒ Peddler::Money? (readonly)
Returns the value of attribute taxable_amount.
315 316 317 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 315 def taxable_amount @taxable_amount end |
Class Method Details
.[](tax_amount:, tax_type:, tax_rate:, taxable_amount:) ⇒ Peddler::APIs::VendorInvoicesV1::TaxDetails .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::VendorInvoicesV1::TaxDetails
305 306 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 305
def self.[]: (tax_amount: Peddler::Money, tax_type: String, ?tax_rate: String?, ?taxable_amount: Peddler::Money?) -> Peddler::APIs::VendorInvoicesV1::TaxDetails
| (Peddler::Money, String, String?, Peddler::Money?) -> Peddler::APIs::VendorInvoicesV1::TaxDetails
|
.members ⇒ [ :tax_amount, :tax_type, :tax_rate, :taxable_amount ]
308 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 308
def self.members: () -> [ :tax_amount, :tax_type, :tax_rate, :taxable_amount ]
|
.new(tax_amount:, tax_type:, tax_rate:, taxable_amount:) ⇒ Peddler::APIs::VendorInvoicesV1::TaxDetails .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::VendorInvoicesV1::TaxDetails
303 304 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 303
def self.new: (tax_amount: Peddler::Money, tax_type: String, ?tax_rate: String?, ?taxable_amount: Peddler::Money?) -> Peddler::APIs::VendorInvoicesV1::TaxDetails
| (Peddler::Money, String, String?, Peddler::Money?) -> Peddler::APIs::VendorInvoicesV1::TaxDetails
|
.parse ⇒ Peddler::APIs::VendorInvoicesV1::TaxDetails
310 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 310
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorInvoicesV1::TaxDetails
|
Instance Method Details
#members ⇒ [ :tax_amount, :tax_type, :tax_rate, :taxable_amount ]
317 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 317
def members: () -> [ :tax_amount, :tax_type, :tax_rate, :taxable_amount ]
|
#to_h ⇒ { tax_amount: Peddler::Money, tax_type: String, tax_rate: String?, taxable_amount: Peddler::Money? }
318 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 318
def to_h: () -> { tax_amount: Peddler::Money, tax_type: String, tax_rate: String?, taxable_amount: Peddler::Money? }
|