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



578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
# File 'lib/paypal-sdk/invoice/data_types.rb', line 578

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 URL which lead merchant to view the invoice as the payer would see it. 
  object_of :payerViewURL, 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