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
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 |
# File 'lib/paypal-sdk/invoice/data_types.rb', line 314 def self.load_members # Status of the invoice. object_of :status, StatusType, :required => true # The total discount amount on the invoice. This field is set by the invoicing system and will ignore any changes made by API callers. object_of :totalDiscountAmount, Float # 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 # The adjustment amount of the invoice (total invoice amount less all payments). This field is set by the invoicing system and will ignore any changes made by API callers. object_of :adjustmentAmount, Float end |