Class: PayPal::SDK::Invoice::DataTypes::CreateInvoiceResponse

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

Overview

The response object for CreateInvoice.

Class Method Summary collapse

Class Method Details

.load_membersObject



499
500
501
502
503
504
505
506
507
508
509
510
511
# File 'lib/paypal-sdk/invoice/data_types.rb', line 499

def self.load_members
  include ResponseStatus
  object_of :responseEnvelope, ResponseEnvelope, :required => true
  # The created invoice's ID. 
  object_of :invoiceID, String, :required => true
  # The created 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