Class: PayPal::SDK::Invoice::DataTypes::CreateAndSendInvoiceResponse

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

Overview

The response object for CreateAndSendInvoice.

Class Method Summary collapse

Class Method Details

.load_membersObject



555
556
557
558
559
560
561
562
563
564
565
566
567
# File 'lib/paypal-sdk/invoice/data_types.rb', line 555

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