Class: PayPal::SDK::Invoice::DataTypes::UpdateInvoiceResponse

Inherits:
DataType
  • Object
show all
Defined in:
lib/paypal-sdk/invoice/data_types.rb

Overview

The response object for UpdateInvoice.

Class Method Summary collapse

Class Method Details

.load_membersObject



724
725
726
727
728
729
730
731
732
733
734
735
736
# File 'lib/paypal-sdk/invoice/data_types.rb', line 724

def self.load_members
  include ResponseStatus
  object_of :responseEnvelope, ResponseEnvelope, :required => true
  # The invoice's ID. 
  object_of :invoiceID, String, :required => true
  # The updated invoice's number. 
  object_of :invoiceNumber, String, :required => true
  # The URL which lead merchant to view the invoice details on web. 
  object_of :invoiceURL, String, :required => true
  # The total amount of the invoice (cost of items, shipping and tax, less any discount). 
  object_of :totalAmount, Integer, :required => true
  array_of :error, ErrorData
end