C# Class PayPal.Api.Capture

A capture transaction.

See PayPal Developer documentation for more information.

Inheritance: PayPalRelationalObject
Afficher le fichier Open project: paypal/PayPal-NET-SDK Class Usage Examples

Private Properties

Свойство Type Description
Refund Refund
Refund Refund

Méthodes publiques

Méthode Description
Get ( APIContext apiContext, string captureId ) : Capture

Shows details for a captured payment, by ID.

Refund ( APIContext apiContext, string captureId, RefundRequest refundRequest ) : DetailedRefund

Refunds a captured payment, by ID. Include an `amount` object in the JSON request body.

Private Methods

Méthode Description
Refund ( APIContext apiContext, Refund refund ) : Refund
Refund ( APIContext apiContext, string captureId, Refund refund ) : Refund

Method Details

Get() public static méthode

Shows details for a captured payment, by ID.
public static Get ( APIContext apiContext, string captureId ) : Capture
apiContext APIContext APIContext used for the API call.
captureId string The ID of the captured payment for which to show details.
Résultat Capture

Refund() public static méthode

Refunds a captured payment, by ID. Include an `amount` object in the JSON request body.
public static Refund ( APIContext apiContext, string captureId, RefundRequest refundRequest ) : DetailedRefund
apiContext APIContext APIContext used for the API call.
captureId string
refundRequest RefundRequest RefundRequest
Résultat DetailedRefund