[This is preliminary documentation and is subject to change.]
Captures the payment of this, uncaptured, charge.
This is the second half og the two-step payment flow, where first you created a charge
with the capture option set to false.
Uncaptured payment expires exactly seven days after it is created.
If a payment is not captured by that pooint of time, it will be marked as refunded and will no longer be capturable.
If set the amount of capture must be less than or equal to the original amount.
Namespace: NFX.Web.Pay.StripeAssembly: NFX.Web (in NFX.Web.dll) Version: 3.0.0.1 (3.0.0.1)
protected internal override bool DoCapture(
PaySession session,
Transaction charge,
Nullable<decimal> amount = null,
string description = null,
Object extraData = null
)
protected internal override bool DoCapture(
PaySession session,
Transaction charge,
Nullable<decimal> amount = null,
string description = null,
Object extraData = null
)
Protected Friend Overrides Function DoCapture (
session As PaySession,
charge As Transaction,
Optional amount As Nullable(Of Decimal) = Nothing,
Optional description As String = Nothing,
Optional extraData As Object = Nothing
) As Boolean
Protected Friend Overrides Function DoCapture (
session As PaySession,
charge As Transaction,
Optional amount As Nullable(Of Decimal) = Nothing,
Optional description As String = Nothing,
Optional extraData As Object = Nothing
) As Boolean
protected public:
virtual bool DoCapture(
PaySession^ session,
Transaction^ charge,
Nullable<Decimal> amount = nullptr,
String^ description = nullptr,
Object^ extraData = nullptr
) override
protected public:
virtual bool DoCapture(
PaySession^ session,
Transaction^ charge,
Nullable<Decimal> amount = nullptr,
String^ description = nullptr,
Object^ extraData = nullptr
) override
abstract DoCapture :
session : PaySession *
charge : Transaction *
?amount : Nullable<decimal> *
?description : string *
?extraData : Object
(* Defaults:
let _amount = defaultArg amount null
let _description = defaultArg description null
let _extraData = defaultArg extraData null
*)
-> bool
override DoCapture :
session : PaySession *
charge : Transaction *
?amount : Nullable<decimal> *
?description : string *
?extraData : Object
(* Defaults:
let _amount = defaultArg amount null
let _description = defaultArg description null
let _extraData = defaultArg extraData null
*)
-> bool
abstract DoCapture :
session : PaySession *
charge : Transaction *
?amount : Nullable<decimal> *
?description : string *
?extraData : Object
(* Defaults:
let _amount = defaultArg amount null
let _description = defaultArg description null
let _extraData = defaultArg extraData null
*)
-> bool
override DoCapture :
session : PaySession *
charge : Transaction *
?amount : Nullable<decimal> *
?description : string *
?extraData : Object
(* Defaults:
let _amount = defaultArg amount null
let _description = defaultArg description null
let _extraData = defaultArg extraData null
*)
-> bool
Return Value
Type:
Boolean