C# Класс PayPal.Api.Authorization

An authorization transaction.

See PayPal Developer documentation for more information.

Наследование: PayPalRelationalObject
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

Capture() публичный Метод

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
Результат Capture

Capture() публичный статический Метод

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
Результат Capture

Get() публичный статический Метод

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.
Результат Authorization

Reauthorize() публичный Метод

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.
Результат Authorization

Reauthorize() публичный статический Метод

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.
Результат Authorization

Void() публичный Метод

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.
Результат Authorization

Void() публичный статический Метод

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.
Результат Authorization