コード例 #1
0
 public InvoiceBuilder WithDiscount(PoundsShillingsPence discount)
 {
     this.discount = discount;
     return(this);
 }
コード例 #2
0
 public InvoiceLine(String product, PoundsShillingsPence value)
 {
     this.product = product;
     this.value   = value;
 }
コード例 #3
0
 public Invoice(Recipient recipient, InvoiceLines lines, PoundsShillingsPence discount)
 {
     this.recipient = recipient;
     this.lines     = lines;
     this.discount  = discount;
 }
コード例 #4
0
 public InvoiceLineBuilder With(PoundsShillingsPence cost)
 {
     _cost = cost;
     return(this);
 }