C# Class PayPal.Api.Authorization

An authorization transaction.

See PayPal Developer documentation for more information.

Inheritance: PayPalRelationalObject
Show file Open project: paypal/PayPal-NET-SDK Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method 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 method

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
return Capture

Capture() public static method

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
return Capture

Get() public static method

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.
return Authorization

Reauthorize() public method

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.
return Authorization

Reauthorize() public static method

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.
return Authorization

Void() public method

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.
return Authorization

Void() public static method

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.
return Authorization