예제 #1
0
 public DestinationRequest(Script scriptPubKey, Money amount, bool subtractFee = false, SmartLabel?label = null) : this(scriptPubKey, MoneyRequest.Create(amount, subtractFee), label)
 {
 }
예제 #2
0
 public DestinationRequest(IDestination destination, Money amount, bool subtractFee = false, SmartLabel?label = null) : this(destination, MoneyRequest.Create(amount, subtractFee), label)
 {
 }
예제 #3
0
 public DestinationRequest(IDestination destination, MoneyRequest amount, SmartLabel?label = null)
 {
     Destination = destination;
     Amount      = amount;
     Label       = label ?? SmartLabel.Empty;
 }
예제 #4
0
 public DestinationRequest(Script scriptPubKey, MoneyRequest amount, SmartLabel?label = null) : this(scriptPubKey.GetDestination(), amount, label)
 {
 }
예제 #5
0
 public PaymentIntent(IDestination destination, MoneyRequest amount, SmartLabel label = null) : this(new DestinationRequest(destination, amount, label))
 {
 }
예제 #6
0
 public PaymentIntent(Script scriptPubKey, MoneyRequest amount, SmartLabel label = null) : this(scriptPubKey.GetDestination(), amount, label)
 {
 }
예제 #7
0
 public PaymentIntent(Script scriptPubKey, Money amount, bool subtractFee = false, SmartLabel label = null) : this(scriptPubKey, MoneyRequest.Create(amount, subtractFee), label)
 {
 }
예제 #8
0
 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;
 }