Class: PayPal::Invoice::Response::Invoice

Inherits:
Object
  • Object
show all
Includes:
Common::Response
Defined in:
lib/paypal/invoice/response/invoice.rb

Instance Attribute Summary collapse

Attributes included from Common::Response

#error, #response_envelope

Method Summary

Methods included from Common::Response

#errors, #set_error, #set_response_envelope, #success?, #valid?

Methods included from Common::Base

#after_initialize, #build_datetime, #build_value, #camelize, #hash_keys, #initialize, #request, #to_hash, #to_json, #underscore

Instance Attribute Details

#invoice_idObject

Returns the value of attribute invoice_id.



5
6
7
# File 'lib/paypal/invoice/response/invoice.rb', line 5

def invoice_id
  @invoice_id
end

#invoice_numberObject

Returns the value of attribute invoice_number.



6
7
8
# File 'lib/paypal/invoice/response/invoice.rb', line 6

def invoice_number
  @invoice_number
end

#invoice_urlObject

Returns the value of attribute invoice_url.



7
8
9
# File 'lib/paypal/invoice/response/invoice.rb', line 7

def invoice_url
  @invoice_url
end

#total_amountObject

Returns the value of attribute total_amount.



8
9
10
# File 'lib/paypal/invoice/response/invoice.rb', line 8

def total_amount
  @total_amount
end