Class: ZUORA::InvoiceItemAdjustment

Inherits:
ZObject
  • Object
show all
Defined in:
lib/zuora/ZUORA.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fieldsToNull = [], id = nil, accountId = nil, amount = nil, sourceId = nil, invoiceId = nil, type = nil, sourceType = nil, adjustmentDate = nil) ⇒ InvoiceItemAdjustment

Returns a new instance of InvoiceItemAdjustment.



313
314
315
316
317
318
319
320
321
322
323
# File 'lib/zuora/ZUORA.rb', line 313

def initialize(fieldsToNull = [], id = nil, accountId = nil, amount = nil, sourceId = nil, invoiceId = nil, type = nil, sourceType = nil, adjustmentDate = nil)
  @fieldsToNull = fieldsToNull
  @id = id
  @accountId = accountId
  @amount = amount
  @sourceId = sourceId
  @invoiceId = invoiceId
  @type = type
  @sourceType = sourceType
  @adjustmentDate = adjustmentDate
end

Instance Attribute Details

#accountIdObject

Returns the value of attribute accountId.



305
306
307
# File 'lib/zuora/ZUORA.rb', line 305

def accountId
  @accountId
end

#adjustmentDateObject

Returns the value of attribute adjustmentDate.



311
312
313
# File 'lib/zuora/ZUORA.rb', line 311

def adjustmentDate
  @adjustmentDate
end

#amountObject

Returns the value of attribute amount.



306
307
308
# File 'lib/zuora/ZUORA.rb', line 306

def amount
  @amount
end

#fieldsToNullObject

Returns the value of attribute fieldsToNull.



303
304
305
# File 'lib/zuora/ZUORA.rb', line 303

def fieldsToNull
  @fieldsToNull
end

#idObject

Returns the value of attribute id.



304
305
306
# File 'lib/zuora/ZUORA.rb', line 304

def id
  @id
end

#invoiceIdObject

Returns the value of attribute invoiceId.



308
309
310
# File 'lib/zuora/ZUORA.rb', line 308

def invoiceId
  @invoiceId
end

#sourceIdObject

Returns the value of attribute sourceId.



307
308
309
# File 'lib/zuora/ZUORA.rb', line 307

def sourceId
  @sourceId
end

#sourceTypeObject

Returns the value of attribute sourceType.



310
311
312
# File 'lib/zuora/ZUORA.rb', line 310

def sourceType
  @sourceType
end

#typeObject

Returns the value of attribute type.



309
310
311
# File 'lib/zuora/ZUORA.rb', line 309

def type
  @type
end