C# Class mobSocial.Plugins.PaypalDirect.PayPalHelper

Exibir arquivo Open project: mobsoftware/mobsocial

Public Methods

Method Description
GeCreditCardTypeType ( string creditCardType ) : CreditCardTypeType

Gets appropriate paypal direct credit card type for given string type

GetPaypalCurrency ( string currencyIsoCode ) : CurrencyCodeType

Gets the Paypal currency code

ParseResponseSuccess ( AbstractResponseType response, string &error ) : bool

Parses paypal response and returns true if operation succeeds. False otherwise.

Method Details

GeCreditCardTypeType() public static method

Gets appropriate paypal direct credit card type for given string type
public static GeCreditCardTypeType ( string creditCardType ) : CreditCardTypeType
creditCardType string
return CreditCardTypeType

GetPaypalCurrency() public static method

Gets the Paypal currency code
public static GetPaypalCurrency ( string currencyIsoCode ) : CurrencyCodeType
currencyIsoCode string
return CurrencyCodeType

ParseResponseSuccess() public static method

Parses paypal response and returns true if operation succeeds. False otherwise.
public static ParseResponseSuccess ( AbstractResponseType response, string &error ) : bool
response PayPal.PayPalAPIInterfaceService.Model.AbstractResponseType
error string
return bool