Class: PayPal::SDK::Invoice::DataTypes::InvoiceSummaryType

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

Overview

Summary of invoice information.

Class Method Summary collapse

Class Method Details

.load_membersObject



437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
# File 'lib/paypal-sdk/invoice/data_types.rb', line 437

def self.load_members
  # The created invoice's ID. 
  object_of :invoiceID, String, :required => true
  # Invoice creator's email. 
  object_of :merchantEmail, String, :required => true
  # Email to which the invoice will be sent. 
  object_of :payerEmail, String, :required => true
  # Unique identifier for the invoice. 
  object_of :number, String, :required => true
  # Business name of the billing info. 
  object_of :billingBusinessName, String
  # First name of the billing info. 
  object_of :billingFirstName, String
  # Last name of the billing info. 
  object_of :billingLastName, String
  # Business name of the shipping info. 
  object_of :shippingBusinessName, String
  # First name of the shipping info. 
  object_of :shippingFirstName, String
  # Last name of the shipping info. 
  object_of :shippingLastName, String
  # Total amount of the invoice. 
  object_of :totalAmount, Float, :required => true
  # Currency used for all invoice item amounts and totals. 
  object_of :currencyCode, String, :required => true
  # Date on which the invoice will be enabled. 
  object_of :invoiceDate, DateTime, :required => true
  # Date on which the invoice payment is due. 
  object_of :dueDate, DateTime, :required => true
  # Status of the invoice. 
  object_of :status, StatusType, :required => true
  # Whether the invoice was created via the website or via an API call. 
  object_of :origin, OriginType, :required => true
  # BN code for tracking transactions with a particular partner. 
  object_of :referrerCode, String
end