public PaymentIntent(IDestination destination, MoneyRequest amount, SmartLabel label = null) : this(new DestinationRequest(destination, amount, label)) { }
public PaymentIntent(IDestination destination, Money amount, bool subtractFee = false, SmartLabel label = null) : this(destination, MoneyRequest.Create(amount, subtractFee), label) { }
public PaymentIntent(Script scriptPubKey, Money amount, bool subtractFee = false, SmartLabel label = null) : this(scriptPubKey, MoneyRequest.Create(amount, subtractFee), label) { }
public PaymentIntent(Script scriptPubKey, MoneyRequest amount, SmartLabel label = null) : this(scriptPubKey.GetDestination(), amount, label) { }
public DestinationRequest(IDestination destination, MoneyRequest amount, SmartLabel label = null) { Destination = Guard.NotNull(nameof(destination), destination); Amount = Guard.NotNull(nameof(amount), amount); Label = label ?? SmartLabel.Empty; }