예제 #1
0
 public void RemovePaymentMethod(PaymentMethodId paymentMethodId)
 {
     if (!PaymentMethods.Contains(paymentMethodId))
     {
         return;
     }
     PaymentMethods.Remove(paymentMethodId);
 }
예제 #2
0
 public void AddPaymentMethod(PaymentMethodId paymentMethodId)
 {
     if (PaymentMethods.Contains(paymentMethodId))
     {
         return;
     }
     PaymentMethods.Add(paymentMethodId);
 }