public override void PopulateCryptoInfo(PaymentMethod details, InvoiceCryptoInfo cryptoInfo,
                                         string serverUrl)
 {
     cryptoInfo.PaymentUrls = new InvoiceCryptoInfo.InvoicePaymentUrls()
     {
         BIP21 = GetPaymentLink(details.Network, details.GetPaymentMethodDetails(), cryptoInfo.Due, serverUrl),
     };
 }
 public static PaymentMethodId GetpaymentMethodId(this InvoiceCryptoInfo info)
 {
     return(new PaymentMethodId(info.CryptoCode, PaymentTypes.Parse(info.PaymentType)));
 }