C# 클래스 PayPal.Api.CreditCard

[DEPRECATED] Represents a credit card to fund a payment. Use Payment Card instead.

See PayPal Developer documentation for more information.

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

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Create ( APIContext apiContext ) : CreditCard

Creates a new Credit Card Resource (aka Tokenize).

Create ( APIContext apiContext, CreditCard creditCard ) : CreditCard

Creates a new Credit Card Resource (aka Tokenize).

Delete ( APIContext apiContext ) : void

Delete the Credit Card resource for the given identifier.

Delete ( APIContext apiContext, string creditCardId ) : void

Delete the Credit Card resource for the given identifier.

Get ( APIContext apiContext, string creditCardId ) : CreditCard

Obtain the Credit Card resource for the given identifier.

List ( APIContext apiContext, int pageSize = 10, int page = 1, string startTime = "", string endTime = "", string sortOrder = "asc", string sortBy = "create_time", string merchantId = "", string externalCardId = "", string externalCustomerId = "", bool totalRequired = true ) : PayPal.Api.CreditCardList

Retrieves a list of Credit Card resources.

Update ( APIContext apiContext, PatchRequest patchRequest ) : CreditCard

Update information in a previously saved card. Only the modified fields need to be passed in the request.

Update ( APIContext apiContext, string creditCardId, PatchRequest patchRequest ) : CreditCard

Update information in a previously saved card. Only the modified fields need to be passed in the request.

메소드 상세

Create() 공개 메소드

Creates a new Credit Card Resource (aka Tokenize).
public Create ( APIContext apiContext ) : CreditCard
apiContext APIContext APIContext used for the API call.
리턴 CreditCard

Create() 공개 정적인 메소드

Creates a new Credit Card Resource (aka Tokenize).
public static Create ( APIContext apiContext, CreditCard creditCard ) : CreditCard
apiContext APIContext APIContext used for the API call.
creditCard CreditCard CreditCard object to be used to create the PayPal resource.
리턴 CreditCard

Delete() 공개 메소드

Delete the Credit Card resource for the given identifier.
public Delete ( APIContext apiContext ) : void
apiContext APIContext APIContext used for the API call.
리턴 void

Delete() 공개 정적인 메소드

Delete the Credit Card resource for the given identifier.
public static Delete ( APIContext apiContext, string creditCardId ) : void
apiContext APIContext APIContext used for the API call.
creditCardId string Identifier of the credit card resource to obtain the data for.
리턴 void

Get() 공개 정적인 메소드

Obtain the Credit Card resource for the given identifier.
public static Get ( APIContext apiContext, string creditCardId ) : CreditCard
apiContext APIContext APIContext used for the API call.
creditCardId string Identifier of the credit card resource to obtain the data for.
리턴 CreditCard

List() 공개 정적인 메소드

Retrieves a list of Credit Card resources.
public static List ( APIContext apiContext, int pageSize = 10, int page = 1, string startTime = "", string endTime = "", string sortOrder = "asc", string sortBy = "create_time", string merchantId = "", string externalCardId = "", string externalCustomerId = "", bool totalRequired = true ) : PayPal.Api.CreditCardList
apiContext APIContext APIContext used for the API call.
pageSize int Number of items to be returned in the current page size, by a GET operation.
page int The page number to be retrieved, for the list of items, by the current GET request.
startTime string Resource creation time as ISO8601 date-time format (ex: 1994-11-05T13:15:30Z) that indicates the start of a range of results.
endTime string Resource creation time as ISO8601 date-time format (ex: 1994-11-05T13:15:30Z) that indicates the end of a range of results.
sortOrder string Sort based on order of results. Options include 'asc' for ascending order or 'desc' for descending order.
sortBy string Sort based on 'create_time' or 'update_time'.
merchantId string Merchant identifier to filter the search results in list operations.
externalCardId string Externally provided card identifier to filter the search results in list operations.
externalCustomerId string Externally provided customer identifier to filter the search results in list operations.
totalRequired bool Identifies if total count is required or not. Defaults to true.
리턴 PayPal.Api.CreditCardList

Update() 공개 메소드

Update information in a previously saved card. Only the modified fields need to be passed in the request.
public Update ( APIContext apiContext, PatchRequest patchRequest ) : CreditCard
apiContext APIContext APIContext used for the API call.
patchRequest PatchRequest PatchRequest
리턴 CreditCard

Update() 공개 정적인 메소드

Update information in a previously saved card. Only the modified fields need to be passed in the request.
public static Update ( APIContext apiContext, string creditCardId, PatchRequest patchRequest ) : CreditCard
apiContext APIContext APIContext used for the API call.
creditCardId string ID fo the credit card to update.
patchRequest PatchRequest PatchRequest
리턴 CreditCard