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.
260 261 262 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 260 def discount_due_days @discount_due_days end |
#discount_percent ⇒ String? (readonly)
Returns the value of attribute discount_percent.
261 262 263 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 261 def discount_percent @discount_percent end |
#net_due_days ⇒ Float? (readonly)
Returns the value of attribute net_due_days.
262 263 264 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 262 def net_due_days @net_due_days end |
#type ⇒ String? (readonly)
Returns the value of attribute type.
263 264 265 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 263 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
253 254 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 253
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 ]
256 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 256
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
251 252 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 251
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
258 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 258
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 ]
265 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 265
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? }
266 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 266
def to_h: () -> { discount_due_days: Float?, discount_percent: String?, net_due_days: Float?, type: String? }
|