Class: ZUORA::Invoice

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

Overview

/Invoice

fieldsToNull - SOAP::SOAPString
id - (any)
accountId - (any)
amount - SOAP::SOAPDouble
balance - SOAP::SOAPDouble
body - SOAP::SOAPString
dueDate - SOAP::SOAPDateTime
invoiceDate - SOAP::SOAPDateTime
invoiceNumber - SOAP::SOAPString
status - SOAP::SOAPString
targetDate - SOAP::SOAPDateTime

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ZObject

attr_accessor, attr_accessor_without_attributes

Constructor Details

#initialize(fieldsToNull = [], id = nil, accountId = nil, amount = nil, balance = nil, body = nil, dueDate = nil, invoiceDate = nil, invoiceNumber = nil, status = nil, targetDate = nil) ⇒ Invoice

Returns a new instance of Invoice.



301
302
303
304
305
306
307
308
309
310
311
312
313
# File 'lib/zuora/ZUORA.rb', line 301

def initialize(fieldsToNull = [], id = nil, accountId = nil, amount = nil, balance = nil, body = nil, dueDate = nil, invoiceDate = nil, invoiceNumber = nil, status = nil, targetDate = nil)
  @fieldsToNull = fieldsToNull
  @id = id
  @accountId = accountId
  @amount = amount
  @balance = balance
  @body = body
  @dueDate = dueDate
  @invoiceDate = invoiceDate
  @invoiceNumber = invoiceNumber
  @status = status
  @targetDate = targetDate
end

Instance Attribute Details

#accountIdObject

Returns the value of attribute accountId.



291
292
293
# File 'lib/zuora/ZUORA.rb', line 291

def accountId
  @accountId
end

#amountObject

Returns the value of attribute amount.



292
293
294
# File 'lib/zuora/ZUORA.rb', line 292

def amount
  @amount
end

#balanceObject

Returns the value of attribute balance.



293
294
295
# File 'lib/zuora/ZUORA.rb', line 293

def balance
  @balance
end

#bodyObject

Returns the value of attribute body.



294
295
296
# File 'lib/zuora/ZUORA.rb', line 294

def body
  @body
end

#dueDateObject

Returns the value of attribute dueDate.



295
296
297
# File 'lib/zuora/ZUORA.rb', line 295

def dueDate
  @dueDate
end

#fieldsToNullObject

Returns the value of attribute fieldsToNull.



289
290
291
# File 'lib/zuora/ZUORA.rb', line 289

def fieldsToNull
  @fieldsToNull
end

#idObject

Returns the value of attribute id.



290
291
292
# File 'lib/zuora/ZUORA.rb', line 290

def id
  @id
end

#invoiceDateObject

Returns the value of attribute invoiceDate.



296
297
298
# File 'lib/zuora/ZUORA.rb', line 296

def invoiceDate
  @invoiceDate
end

#invoiceNumberObject

Returns the value of attribute invoiceNumber.



297
298
299
# File 'lib/zuora/ZUORA.rb', line 297

def invoiceNumber
  @invoiceNumber
end

#statusObject

Returns the value of attribute status.



298
299
300
# File 'lib/zuora/ZUORA.rb', line 298

def status
  @status
end

#targetDateObject

Returns the value of attribute targetDate.



299
300
301
# File 'lib/zuora/ZUORA.rb', line 299

def targetDate
  @targetDate
end