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.
286 287 288 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 286 def tax_amount @tax_amount end |
#tax_rate ⇒ String? (readonly)
Returns the value of attribute tax_rate.
287 288 289 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 287 def tax_rate @tax_rate end |
#tax_type ⇒ String (readonly)
Returns the value of attribute tax_type.
288 289 290 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 288 def tax_type @tax_type end |
#taxable_amount ⇒ Peddler::Money? (readonly)
Returns the value of attribute taxable_amount.
289 290 291 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 289 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
279 280 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 279
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 ]
282 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 282
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
277 278 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 277
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
284 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 284
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorInvoicesV1::TaxDetails
|
Instance Method Details
#members ⇒ [ :tax_amount, :tax_type, :tax_rate, :taxable_amount ]
291 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 291
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? }
292 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 292
def to_h: () -> { tax_amount: Peddler::Money, tax_type: String, tax_rate: String?, taxable_amount: Peddler::Money? }
|