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



516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
# File 'lib/paypal-sdk/invoice/data_types.rb', line 516

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