C# 클래스 PayPal.Api.PayPalRelationalObject

Represents a PayPal model object that will be returned from PayPal containing common resource data.
상속: PayPalResource
파일 보기 프로젝트 열기: paypal/PayPal-NET-SDK 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
GetApprovalUrl ( bool setUserActionParameter = false ) : string

Gets the approval URL from a list of HATEOAS links.

GetHateoasLink ( string relationName ) : Links

Gets the HATEOAS link that matches the specified relation name.

GetTokenFromApprovalUrl ( ) : string

Gets the resource token from an approval URL HATEOAS link, if found.

메소드 상세

GetApprovalUrl() 공개 메소드

Gets the approval URL from a list of HATEOAS links.
public GetApprovalUrl ( bool setUserActionParameter = false ) : string
setUserActionParameter bool If true, appends the 'useraction' URL query parameter. /// For PayPal payments, this will set the approval button text on the PayPal site to "Pay Now".
리턴 string

GetHateoasLink() 공개 메소드

Gets the HATEOAS link that matches the specified relation name.
public GetHateoasLink ( string relationName ) : Links
relationName string The name of the link relation.
리턴 Links

GetTokenFromApprovalUrl() 공개 메소드

Gets the resource token from an approval URL HATEOAS link, if found.
public GetTokenFromApprovalUrl ( ) : string
리턴 string