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



690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
# File 'lib/paypal-sdk/invoice/data_types.rb', line 690

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