Class: PayPal::SDK::Invoice::DataTypes::InvoiceDetailsType
- Inherits:
-
DataType
- Object
- Core::API::DataTypes::Base
- DataType
- PayPal::SDK::Invoice::DataTypes::InvoiceDetailsType
- Defined in:
- lib/paypal-sdk/invoice/data_types.rb
Overview
Invoice details about the invoice status and state change dates.
Class Method Summary collapse
Class Method Details
.load_members ⇒ Object
291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 |
# File 'lib/paypal-sdk/invoice/data_types.rb', line 291 def self.load_members # Status of the invoice. object_of :status, StatusType, :required => true # The total amount of the invoice (cost of items, shipping and tax, less any discount). This field is set by the invoicing system and will ignore any changes made by API callers. object_of :totalAmount, Float # Whether the invoice was created via the website or via an API call. object_of :origin, OriginType, :required => true # Date when the invoice was created. object_of :createdDate, DateTime, :required => true # Account that created the invoice. object_of :createdBy, String # If canceled, date when the invoice was canceled. object_of :canceledDate, DateTime # Actor who canceled the invoice. object_of :canceledByActor, ActorType # Account that canceled the invoice. object_of :canceledBy, String # Date when the invoice was last edited. object_of :lastUpdatedDate, DateTime # Account that last edited the invoice. object_of :lastUpdatedBy, String # Date when the invoice was first sent. object_of :firstSentDate, DateTime # Date when the invoice was last sent. object_of :lastSentDate, DateTime # Account that last sent the invoice. object_of :lastSentBy, String # If the invoice was paid, date when the invoice was paid. object_of :paidDate, DateTime end |