C# Class EGSW.Services.Payments.PaypalHelper

Represents paypal helper
Afficher le fichier Open project: careerengine/EGSW-Project Class Usage Examples

Méthodes publiques

Méthode Description
CheckSuccess ( AbstractResponseType abstractResponse, string &errorMsg ) : bool

Checks response

GetPaymentStatus ( string paymentStatus, string pendingReason ) : PaymentStatus

Gets a payment status

GetPaypalCurrency ( string CurrencyCode ) : CurrencyCodeType

Get Paypal currency code

Method Details

CheckSuccess() public static méthode

Checks response
public static CheckSuccess ( AbstractResponseType abstractResponse, string &errorMsg ) : bool
abstractResponse PayPal.PayPalAPIInterfaceService.Model.AbstractResponseType response
errorMsg string Error message if exists
Résultat bool

GetPaymentStatus() public static méthode

Gets a payment status
public static GetPaymentStatus ( string paymentStatus, string pendingReason ) : PaymentStatus
paymentStatus string PayPal payment status
pendingReason string PayPal pending reason
Résultat PaymentStatus

GetPaypalCurrency() public static méthode

Get Paypal currency code
public static GetPaypalCurrency ( string CurrencyCode ) : CurrencyCodeType
CurrencyCode string
Résultat CurrencyCodeType