Capture class
Captured payment details.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
-
Capture(CaptureStatus? status, CaptureStatusDetails? statusDetails, String? id, Money? amount, String? invoiceId, String? customId, SellerProtection? sellerProtection, bool? finalCapture, SellerReceivableBreakdown? sellerReceivableBreakdown, DisbursementMode? disbursementMode, List<
LinkDescription> ? links, ProcessorResponse? processorResponse, String? createTime, String? updateTime) -
const
-
Capture.fromJson(Map<
String, dynamic> json) -
factory
Properties
- amount → Money?
-
The amount for this captured payment.
final
- createTime → String?
-
The date and time when the transaction occurred, in
Internet date and time format
final
- customId → String?
-
The API caller-provided external ID. Used to reconcile API caller-initiated
transactions with PayPal transactions. Appears in transaction and settlement reports.
final
- disbursementMode → DisbursementMode?
-
The funds that are held on behalf of the merchant.
final
- finalCapture → bool?
-
Indicates whether you can make additional captures against the authorized payment.
Set to true if you do not intend to capture additional payments against the authorization.
Set to false if you intend to capture additional payments against the authorization.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The PayPal-generated ID for the captured payment.
final
- invoiceId → String?
-
The API caller-provided external invoice number for this order. Appears in
both the payer's transaction history and the emails that the payer receives.
final
-
links
→ List<
LinkDescription> ? -
An array of request-related HATEOAS links.
final
- processorResponse → ProcessorResponse?
-
An object that provides additional processor information for a direct credit
card transaction.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sellerProtection → SellerProtection?
-
The level of protection offered as defined by PayPal Seller Protection for Merchants.
final
- sellerReceivableBreakdown → SellerReceivableBreakdown?
-
The detailed breakdown of the capture activity. This is not available for
transactions that are in pending state.
final
- status → CaptureStatus?
-
The status of the captured payment.
final
- statusDetails → CaptureStatusDetails?
-
The details of the captured payment status.
final
- updateTime → String?
-
The date and time when the transaction was last updated, in
Internet date and time format
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited