refactoring: --YavscLib-- => Yavsc
This commit is contained in:
9
Yavsc.Abstract/Billing/IAccountBalance.cs
Normal file
9
Yavsc.Abstract/Billing/IAccountBalance.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace Yavsc
|
||||
{
|
||||
public interface IAccountBalance
|
||||
{
|
||||
long ContactCredits { get; set; }
|
||||
decimal Credits { get; set; }
|
||||
string UserId { get; set; }
|
||||
}
|
||||
}
|
13
Yavsc.Abstract/Billing/IBillItem.cs
Normal file
13
Yavsc.Abstract/Billing/IBillItem.cs
Normal file
@ -0,0 +1,13 @@
|
||||
namespace Yavsc.Billing
|
||||
{
|
||||
public interface IBillItem {
|
||||
string Name { get; set; }
|
||||
string Description { get; set; }
|
||||
int Count { get; set; }
|
||||
decimal UnitaryCost { get; set; }
|
||||
string Currency { get; set; }
|
||||
|
||||
string Reference { get; }
|
||||
|
||||
}
|
||||
}
|
11
Yavsc.Abstract/Billing/IBillable.cs
Normal file
11
Yavsc.Abstract/Billing/IBillable.cs
Normal file
@ -0,0 +1,11 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Yavsc.Billing
|
||||
{
|
||||
public interface IBillable {
|
||||
string Description { get; set; }
|
||||
List<IBillItem> GetBillItems();
|
||||
long Id { get; set; }
|
||||
|
||||
}
|
||||
}
|
8
Yavsc.Abstract/Billing/IBillingImpacter.cs
Normal file
8
Yavsc.Abstract/Billing/IBillingImpacter.cs
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
namespace Yavsc.Billing
|
||||
{
|
||||
public interface IBillingImpacter {
|
||||
decimal Impact(decimal orgValue);
|
||||
|
||||
}
|
||||
}
|
13
Yavsc.Abstract/Billing/ICommandLine.cs
Normal file
13
Yavsc.Abstract/Billing/ICommandLine.cs
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
namespace Yavsc.Billing
|
||||
{
|
||||
|
||||
public interface ICommandLine : IBillItem
|
||||
{
|
||||
// FIXME too hard: no such generic name in any interface
|
||||
long Id { get; set; }
|
||||
|
||||
// FIXME too far: perhaps no existing estimate
|
||||
long EstimateId { get; set; }
|
||||
}
|
||||
}
|
17
Yavsc.Abstract/Billing/IEstimate.cs
Normal file
17
Yavsc.Abstract/Billing/IEstimate.cs
Normal file
@ -0,0 +1,17 @@
|
||||
namespace Yavsc
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
public interface IEstimate
|
||||
{
|
||||
List<string> AttachedFiles { get; set; }
|
||||
List<string> AttachedGraphics { get; }
|
||||
string ClientId { get; set; }
|
||||
long? CommandId { get; set; }
|
||||
string CommandType { get; set; }
|
||||
string Description { get; set; }
|
||||
long Id { get; set; }
|
||||
string OwnerId { get; set; }
|
||||
string Title { get; set; }
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user