C# 클래스 PayPal.Api.Order

An order transaction.

See PayPal Developer documentation for more information.

상속: PayPalRelationalObject
파일 보기 프로젝트 열기: paypal/PayPal-NET-SDK 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Authorize ( APIContext apiContext ) : Authorization

Authorizes an order, by ID. Include an `amount` object in the JSON request body.

Authorize ( APIContext apiContext, Order order ) : Authorization

Creates an authorization on an order

Capture ( APIContext apiContext, Capture capture ) : Capture

Captures a payment for an order, by ID. To use this call, the original payment call must specify an intent of `order`. In the JSON request body, include the payment amount and indicate whether this capture is the final capture for the authorization.

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

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

Get ( APIContext apiContext, string orderId ) : Order

Shows details for an order, by ID.

Void ( APIContext apiContext ) : Order

Voids, or cancels, an order, by ID. You cannot void an order if a payment has already been partially or fully captured.

Void ( APIContext apiContext, string orderId ) : Order

Voids (cancels) an Order.

메소드 상세

Authorize() 공개 메소드

Authorizes an order, by ID. Include an `amount` object in the JSON request body.
public Authorize ( APIContext apiContext ) : Authorization
apiContext APIContext APIContext used for the API call.
리턴 Authorization

Authorize() 공개 정적인 메소드

Creates an authorization on an order
public static Authorize ( APIContext apiContext, Order order ) : Authorization
apiContext APIContext APIContext used for the API call.
order Order Order object to authorize.
리턴 Authorization

Capture() 공개 메소드

Captures a payment for an order, by ID. To use this call, the original payment call must specify an intent of `order`. In the JSON request body, include the payment amount and indicate whether this capture is the final capture for the authorization.
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 orderId, Capture capture ) : Capture
apiContext APIContext APIContext used for the API call.
orderId string ID of the order to capture.
capture Capture Capture
리턴 Capture

Get() 공개 정적인 메소드

Shows details for an order, by ID.
public static Get ( APIContext apiContext, string orderId ) : Order
apiContext APIContext APIContext used for the API call.
orderId string The ID of the order for which to show details.
리턴 Order

Void() 공개 메소드

Voids, or cancels, an order, by ID. You cannot void an order if a payment has already been partially or fully captured.
public Void ( APIContext apiContext ) : Order
apiContext APIContext APIContext used for the API call.
리턴 Order

Void() 공개 정적인 메소드

Voids (cancels) an Order.
public static Void ( APIContext apiContext, string orderId ) : Order
apiContext APIContext APIContext used for the API call.
orderId string ID of the order to void.
리턴 Order