Class: Peddler::APIs::VendorInvoicesV1::PaymentTerms
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::VendorInvoicesV1::PaymentTerms
- Defined in:
- sig/peddler/apis/vendor_invoices_v1.rbs
Instance Attribute Summary collapse
-
#discount_due_days ⇒ Float?
readonly
Returns the value of attribute discount_due_days.
-
#discount_percent ⇒ String?
readonly
Returns the value of attribute discount_percent.
-
#net_due_days ⇒ Float?
readonly
Returns the value of attribute net_due_days.
-
#type ⇒ String?
readonly
Returns the value of attribute type.
Class Method Summary collapse
- .[] ⇒ Object
- .members ⇒ [ :discount_due_days, :discount_percent, :net_due_days, :type ]
- .new ⇒ Object
- .parse ⇒ Peddler::APIs::VendorInvoicesV1::PaymentTerms
Instance Method Summary collapse
- #members ⇒ [ :discount_due_days, :discount_percent, :net_due_days, :type ]
- #to_h ⇒ { discount_due_days: Float?, discount_percent: String?, net_due_days: Float?, type: String? }
Instance Attribute Details
#discount_due_days ⇒ Float? (readonly)
Returns the value of attribute discount_due_days.
234 235 236 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 234 def discount_due_days @discount_due_days end |
#discount_percent ⇒ String? (readonly)
Returns the value of attribute discount_percent.
235 236 237 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 235 def discount_percent @discount_percent end |
#net_due_days ⇒ Float? (readonly)
Returns the value of attribute net_due_days.
236 237 238 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 236 def net_due_days @net_due_days end |
#type ⇒ String? (readonly)
Returns the value of attribute type.
237 238 239 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 237 def type @type end |
Class Method Details
.[](discount_due_days:, discount_percent:, net_due_days:, type:) ⇒ Peddler::APIs::VendorInvoicesV1::PaymentTerms .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::VendorInvoicesV1::PaymentTerms
227 228 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 227 def self.[]: (?discount_due_days: Float?, ?discount_percent: String?, ?net_due_days: Float?, ?type: String?) -> Peddler::APIs::VendorInvoicesV1::PaymentTerms | (Float?, String?, Float?, String?) -> Peddler::APIs::VendorInvoicesV1::PaymentTerms |
.members ⇒ [ :discount_due_days, :discount_percent, :net_due_days, :type ]
230 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 230 def self.members: () -> [ :discount_due_days, :discount_percent, :net_due_days, :type ] |
.new(discount_due_days:, discount_percent:, net_due_days:, type:) ⇒ Peddler::APIs::VendorInvoicesV1::PaymentTerms .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::VendorInvoicesV1::PaymentTerms
225 226 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 225 def self.new: (?discount_due_days: Float?, ?discount_percent: String?, ?net_due_days: Float?, ?type: String?) -> Peddler::APIs::VendorInvoicesV1::PaymentTerms | (Float?, String?, Float?, String?) -> Peddler::APIs::VendorInvoicesV1::PaymentTerms |
.parse ⇒ Peddler::APIs::VendorInvoicesV1::PaymentTerms
232 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 232 def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorInvoicesV1::PaymentTerms |
Instance Method Details
#members ⇒ [ :discount_due_days, :discount_percent, :net_due_days, :type ]
239 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 239 def members: () -> [ :discount_due_days, :discount_percent, :net_due_days, :type ] |
#to_h ⇒ { discount_due_days: Float?, discount_percent: String?, net_due_days: Float?, type: String? }
240 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 240 def to_h: () -> { discount_due_days: Float?, discount_percent: String?, net_due_days: Float?, type: String? } |