Class: Peddler::APIs::VendorInvoicesV1::AllowanceDetails
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::VendorInvoicesV1::AllowanceDetails
- Defined in:
- sig/peddler/apis/vendor_invoices_v1.rbs
Instance Attribute Summary collapse
-
#allowance_amount ⇒ Peddler::Money
readonly
Returns the value of attribute allowance_amount.
-
#description ⇒ String?
readonly
Returns the value of attribute description.
-
#tax_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?
readonly
Returns the value of attribute tax_details.
-
#type ⇒ String
readonly
Returns the value of attribute type.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :allowance_amount, :type, :description, :tax_details ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::VendorInvoicesV1::AllowanceDetails
Instance Method Summary collapse
-
#members ⇒ [ :allowance_amount, :type, :description, :tax_details ]
-
#to_h ⇒ { allowance_amount: Peddler::Money, type: String, description: String?, tax_details: Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]? }
Instance Attribute Details
#allowance_amount ⇒ Peddler::Money (readonly)
Returns the value of attribute allowance_amount.
58 59 60 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 58 def allowance_amount @allowance_amount end |
#description ⇒ String? (readonly)
Returns the value of attribute description.
59 60 61 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 59 def description @description end |
#tax_details ⇒ Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]? (readonly)
Returns the value of attribute tax_details.
60 61 62 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 60 def tax_details @tax_details end |
#type ⇒ String (readonly)
Returns the value of attribute type.
61 62 63 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 61 def type @type end |
Class Method Details
.[](allowance_amount:, type:, description:, tax_details:) ⇒ Peddler::APIs::VendorInvoicesV1::AllowanceDetails .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::VendorInvoicesV1::AllowanceDetails
51 52 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 51
def self.[]: (allowance_amount: Peddler::Money, type: String, ?description: String?, ?tax_details: Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?) -> Peddler::APIs::VendorInvoicesV1::AllowanceDetails
| (Peddler::Money, String, String?, Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?) -> Peddler::APIs::VendorInvoicesV1::AllowanceDetails
|
.members ⇒ [ :allowance_amount, :type, :description, :tax_details ]
54 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 54
def self.members: () -> [ :allowance_amount, :type, :description, :tax_details ]
|
.new(allowance_amount:, type:, description:, tax_details:) ⇒ Peddler::APIs::VendorInvoicesV1::AllowanceDetails .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::VendorInvoicesV1::AllowanceDetails
49 50 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 49
def self.new: (allowance_amount: Peddler::Money, type: String, ?description: String?, ?tax_details: Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?) -> Peddler::APIs::VendorInvoicesV1::AllowanceDetails
| (Peddler::Money, String, String?, Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]?) -> Peddler::APIs::VendorInvoicesV1::AllowanceDetails
|
.parse ⇒ Peddler::APIs::VendorInvoicesV1::AllowanceDetails
56 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 56
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorInvoicesV1::AllowanceDetails
|
Instance Method Details
#members ⇒ [ :allowance_amount, :type, :description, :tax_details ]
63 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 63
def members: () -> [ :allowance_amount, :type, :description, :tax_details ]
|
#to_h ⇒ { allowance_amount: Peddler::Money, type: String, description: String?, tax_details: Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]? }
64 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 64
def to_h: () -> { allowance_amount: Peddler::Money, type: String, description: String?, tax_details: Array[Peddler::APIs::VendorInvoicesV1::TaxDetails]? }
|