Class: Files::PaymentLineItem
- Inherits:
 - 
      Object
      
        
- Object
 - Files::PaymentLineItem
 
 
- Defined in:
 - lib/files.com/models/payment_line_item.rb
 
Instance Attribute Summary collapse
- 
  
    
      #attributes  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute attributes.
 - 
  
    
      #options  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute options.
 
Instance Method Summary collapse
- 
  
    
      #amount  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
double - Payment line item amount.
 - 
  
    
      #created_at  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
date-time - Payment line item created at date/time.
 - 
  
    
      #initialize(attributes = {}, options = {})  ⇒ PaymentLineItem 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of PaymentLineItem.
 - 
  
    
      #invoice_id  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
int64 - Invoice ID.
 - 
  
    
      #payment_id  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
int64 - Payment ID.
 
Constructor Details
#initialize(attributes = {}, options = {}) ⇒ PaymentLineItem
Returns a new instance of PaymentLineItem.
      7 8 9 10  | 
    
      # File 'lib/files.com/models/payment_line_item.rb', line 7 def initialize(attributes = {}, = {}) @attributes = attributes || {} @options = || {} end  | 
  
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
      5 6 7  | 
    
      # File 'lib/files.com/models/payment_line_item.rb', line 5 def attributes @attributes end  | 
  
#options ⇒ Object (readonly)
Returns the value of attribute options.
      5 6 7  | 
    
      # File 'lib/files.com/models/payment_line_item.rb', line 5 def @options end  | 
  
Instance Method Details
#amount ⇒ Object
double - Payment line item amount
      13 14 15  | 
    
      # File 'lib/files.com/models/payment_line_item.rb', line 13 def amount @attributes[:amount] end  | 
  
#created_at ⇒ Object
date-time - Payment line item created at date/time
      18 19 20  | 
    
      # File 'lib/files.com/models/payment_line_item.rb', line 18 def created_at @attributes[:created_at] end  | 
  
#invoice_id ⇒ Object
int64 - Invoice ID
      23 24 25  | 
    
      # File 'lib/files.com/models/payment_line_item.rb', line 23 def invoice_id @attributes[:invoice_id] end  | 
  
#payment_id ⇒ Object
int64 - Payment ID
      28 29 30  | 
    
      # File 'lib/files.com/models/payment_line_item.rb', line 28 def payment_id @attributes[:payment_id] end  |