C# Class PayPal.Api.Authorization

An authorization 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

Méthodes publiques

Méthode Description
Capture ( APIContext apiContext, Capture capture ) : Capture

Captures and processes an authorization, by ID. To use this call, the original payment call must specify an intent of `authorize`.

Capture ( APIContext apiContext, string authorizationId, Capture capture ) : Capture

Creates (and processes) a new Capture Transaction added as a related resource.

Get ( APIContext apiContext, string authorizationId ) : Authorization

Shows details for an authorization, by ID.

Reauthorize ( APIContext apiContext ) : Authorization

Reauthorizes a PayPal account payment, by authorization ID. To ensure that funds are still available, reauthorize a payment after the initial three-day honor period. Supports only the `amount` request parameter.

Reauthorize ( APIContext apiContext, Authorization authorization ) : Authorization

Reauthorizes an expired Authorization.

Void ( APIContext apiContext ) : Authorization

Voids, or cancels, an authorization, by ID. You cannot void a fully captured authorization.

Void ( APIContext apiContext, string authorizationId ) : Authorization

Voids (cancels) an Authorization.

Method Details

Capture() public méthode

Captures and processes an authorization, by ID. To use this call, the original payment call must specify an intent of `authorize`.
public Capture ( APIContext apiContext, Capture capture ) : Capture
apiContext APIContext APIContext used for the API call.
capture Capture Capture
Résultat Capture

Capture() public static méthode

Creates (and processes) a new Capture Transaction added as a related resource.
public static Capture ( APIContext apiContext, string authorizationId, Capture capture ) : Capture
apiContext APIContext APIContext used for the API call.
authorizationId string ID of the authorization to capture.
capture Capture Capture
Résultat Capture

Get() public static méthode

Shows details for an authorization, by ID.
public static Get ( APIContext apiContext, string authorizationId ) : Authorization
apiContext APIContext APIContext used for the API call.
authorizationId string The ID of the authorization for which to show details.
Résultat Authorization

Reauthorize() public méthode

Reauthorizes a PayPal account payment, by authorization ID. To ensure that funds are still available, reauthorize a payment after the initial three-day honor period. Supports only the `amount` request parameter.
public Reauthorize ( APIContext apiContext ) : Authorization
apiContext APIContext APIContext used for the API call.
Résultat Authorization

Reauthorize() public static méthode

Reauthorizes an expired Authorization.
public static Reauthorize ( APIContext apiContext, Authorization authorization ) : Authorization
apiContext APIContext APIContext used for the API call.
authorization Authorization The Authorization object containing the details of the authorization that should be reauthorized.
Résultat Authorization

Void() public méthode

Voids, or cancels, an authorization, by ID. You cannot void a fully captured authorization.
public Void ( APIContext apiContext ) : Authorization
apiContext APIContext APIContext used for the API call.
Résultat Authorization

Void() public static méthode

Voids (cancels) an Authorization.
public static Void ( APIContext apiContext, string authorizationId ) : Authorization
apiContext APIContext APIContext used for the API call.
authorizationId string ID of the authorization to void.
Résultat Authorization