Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Paiwise.IPaymentServiceProvider Interface Reference

Interface for information about a service provider that users can use to pay for services. More...

Inheritance diagram for Paiwise.IPaymentServiceProvider:
Paiwise.IServiceProvider Paiwise.Internal.PaiwisePaymentServices TAG.Payments.Script.Providers.Payment.PaymentServiceProvider

Public Member Functions

Task< IPaymentService[]> GetServicesForPayment (CaseInsensitiveString Currency, CaseInsensitiveString Country)
 Gets available payment services. More...
 
Task< IPaymentServiceGetServiceForPayment (string ServiceId, CaseInsensitiveString Currency, CaseInsensitiveString Country)
 Gets a payment service. More...
 

Properties

string Id [get]
 ID of service provider. More...
 
string Name [get]
 Displayable name of service provider. More...
 
string IconUrl [get]
 Optional URL to icon of service provider. More...
 
int IconWidth [get]
 Width of icon, if available. More...
 
int IconHeight [get]
 Height of icon, if available. More...
 

Detailed Description

Interface for information about a service provider that users can use to pay for services.

Definition at line 9 of file IPaymentServiceProvider.cs.

Member Function Documentation

◆ GetServiceForPayment()

Task< IPaymentService > Paiwise.IPaymentServiceProvider.GetServiceForPayment ( string  ServiceId,
CaseInsensitiveString  Currency,
CaseInsensitiveString  Country 
)

Gets a payment service.

Parameters
ServiceIdService ID
CurrencyCurrency to use.
CountryCountry where service is to be used.
Returns
Service, if found, null otherwise.

Implemented in Paiwise.Internal.PaiwisePaymentServices, and TAG.Payments.Script.Providers.Payment.PaymentServiceProvider.

◆ GetServicesForPayment()

Task< IPaymentService[]> Paiwise.IPaymentServiceProvider.GetServicesForPayment ( CaseInsensitiveString  Currency,
CaseInsensitiveString  Country 
)

Gets available payment services.

Parameters
CurrencyCurrency to use.
CountryCountry where service is to be used.
Returns
Available payment services.

Implemented in Paiwise.Internal.PaiwisePaymentServices, and TAG.Payments.Script.Providers.Payment.PaymentServiceProvider.

Property Documentation

◆ IconHeight

◆ IconUrl

◆ IconWidth

◆ Id

◆ Name


The documentation for this interface was generated from the following file: