Offline Payment
The description of a completed payment, that was taken while Offline. All currency amounts are specified in the smallest denomination of the applicable currency. For example, US dollar amounts are specified in cents.
Types
Builder class for constructing OfflinePayment objects.
Properties
The base amount of money processed for this payment, not including tipMoney.
The amount taken by the developer as a fee, not more than 90% of totalMoney.
Non-confidential details for the source card.
An optional field for a cash payment that holds information such as the buyer supplied amount and the change the user should get back.
Details about an external payment. The details are only populated if the sourceType is SourceType.EXTERNAL.
The ID of the location associated with the payment, if available.
An optional ID that associates this payment with an entity in another system.
The source type of the payment (card, cash, etc).
Indicates the OfflineStatus of the payment.
Total money is defined as base amount plus any tip; it doesn't need its own storage allocated, and definitely doesn't need an independent setter.
Timestamp of when the payment was uploaded for processing.