C# Class AndroidPayQuickstart.WalletUtil

Datei anzeigen Open project: apcurium/xamarin-bindings Class Usage Examples

Public Methods

Method Description
CreateFullWalletRequest ( ItemInfo itemInfo, string googleTransactionId ) : FullWalletRequest
CreateMaskedWalletRequest ( ItemInfo itemInfo ) : MaskedWalletRequest
CreateNotifyTransactionStatusRequest ( string googleTransactionId, int status ) : NotifyTransactionStatusRequest
CreateStripeMaskedWalletRequest ( ItemInfo itemInfo, PaymentMethodTokenizationParameters parameters ) : MaskedWalletRequest

Private Methods

Method Description
CreateMaskedWalletRequest ( ItemInfo itemInfo, PaymentMethodTokenizationParameters parameters ) : MaskedWalletRequest
buildLineItems ( ItemInfo itemInfo, bool isEstimate ) : List
calculateCartTotal ( List lineItems ) : String
toDollars ( long micros ) : string

Method Details

CreateFullWalletRequest() public static method

public static CreateFullWalletRequest ( ItemInfo itemInfo, string googleTransactionId ) : FullWalletRequest
itemInfo ItemInfo
googleTransactionId string
return FullWalletRequest

CreateMaskedWalletRequest() public static method

public static CreateMaskedWalletRequest ( ItemInfo itemInfo ) : MaskedWalletRequest
itemInfo ItemInfo
return MaskedWalletRequest

CreateNotifyTransactionStatusRequest() public static method

public static CreateNotifyTransactionStatusRequest ( string googleTransactionId, int status ) : NotifyTransactionStatusRequest
googleTransactionId string
status int
return NotifyTransactionStatusRequest

CreateStripeMaskedWalletRequest() public static method

public static CreateStripeMaskedWalletRequest ( ItemInfo itemInfo, PaymentMethodTokenizationParameters parameters ) : MaskedWalletRequest
itemInfo ItemInfo
parameters PaymentMethodTokenizationParameters
return MaskedWalletRequest