Class: Peddler::APIs::VendorInvoicesV1::PaymentTerms

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/vendor_invoices_v1.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#discount_due_days ⇒ Float? (readonly)

Returns the value of attribute discount_due_days.

Returns:

  • (Float, nil)


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.

Returns:

  • (String, nil)


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.

Returns:

  • (Float, nil)


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.

Returns:

  • (String, nil)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



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 ]

Returns:

  • ([ :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? }

Returns:

  • ({ 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? }