Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
public interface IAllocationService
{
    CancelAllocationResponse CancelAllocationCreateAllocationResponse CreateAllocation(CancelAllocationRequestCreateAllocationRequest request);
    CreateAllocationResponse CreateAllocationCancelAllocationResponse CancelAllocation(CreateAllocationRequestCancelAllocationRequest request);
    List<CreateAllocationResponse> CreateAllocations(List<CreateAllocationRequest> request);
    AccountBalanceResponse GetAccountBalance(AccountBalanceRequest request);
    Allocation GetAllocation(int allocationId);
    CostInformationResponse GetCostInformation(CostInformationRequest request);
    PortfolioPositionResponse GetPortfolioPosition(PortfolioPositionRequest request);
    RiskCheckResponse GetRiskCheck(RiskCheckRequest request);
    void ManuallyAllocateInstruction(int id, string comments);
    List<Allocation> SearchAllocations(AllocationCriteria request);
    SendToBackofficeResponse SendToBackoffice(SendToBackofficeRequest request);
    void UpdateAllocationStatus(UpdateAllocationStatusRequest request);
    void UpdateResentAllocations();
    bool IsAlive();
}
public class CreateAllocationRequest
{ 
    public int? AccountId { getset; }
    public string AccountNumber { getset; }
    public double? AllocationPrice { getset}
    public AllocationType AllocationType { getset; }
    public AssetClass AssetClass { getset; }
    public double AverageTradePrice { getset; }
    public string BackOfficeComments { getset; }
    public BackOfficeStatus? BackOfficeStatus { getset; }
    public double? BrokerFeePercent { getset; }
    public double? BruttoAmount { getset; }
    public BruttoNetto BruttoNetto { getset; }
    public bool BypassBackOffice { getset; }
    public double? CashQuantity { getset; }
    public string Comments { getset; }
    public string CommissionCategory { getset; }
    public RoutingMethod Communication { getset; }
    public BruttoNetto ConstantTradeElement { getset; }
    public MifidCategory? CustomerMifidCategory { getset; }
    public double? DirtyPrice { getset; }
    public double? DiscountPercent { getset; }
    public double? EffectiveCommissionAmount { getset; }
    public double? EffectiveCommissionPercent { getset; }
    public string Email { getset; }
    public DateTime ExpiryDate { getset; }
    public string ExternalAccountNumber { getset; }
    public string ExternalAccountSSN { getset; }
    public double Fee { getset; }
    public double FeeAmount { getset; }
    public FeeType FeeType { getset; }
    public bool House { getset; }
    public int Id { getset; }
    public bool IncludeCommissionInPrice { getset; }
    public double? IndexationAmount { getset; }
    public bool InspectionByBackOfficeRequired { getset; }
    public double? InterestAmount { getset; }
    public double? InterestDays { getset; }
    public double InterestFee { getset; }
    public double Interests { getset; }
    public string InternalComments { getset; }
    public bool? IsAdviceOrder { getset; }
    public bool IsForwardContract { getset; }
    public bool? ManualSettlement { getset; }
    public bool? MifidTestComplete { getset; }
    public int? MifidTestId { getset; }
    public int? OrderInstructionId { getset; }
    public MifidCategory? OrderMifidCategory { getset; }
    public string OrderReference { getset; }
    public double OtherFee { getset; }
    public FeeType OtherFeeType { getset; }
    public double Payment { getset; }
    public PaymentType PaymentType { getset; }
    public string PortfolioExternalReferenceId { getset; }
    public int? PortfolioId { getset; }
    public string PortfolioName { getset; }
    public double Quantity { getset; }
    public QuantityType? QuantityType { getset; }
    public double? RemainingNotional { getset; }
    public int? SalespersonId { getset; }
    public bool SendEmail { getset; }
    public int SettlementAccountId { getset; }
    public DateTime SettlementDate { getset; }
    public int SettlementPortfolioId { getset; }
    public Side Side { getset; }
    public string Symbol { getset; }
    public double? TaxAmount { getset; }
    public double TotalAmount { getset; }
    public double TotalFee { getset; }
    public double? TotalTradeValue { getset; }
    public List<TradeAllocationRequest> TradeAllocations { getset; }
    public DateTime TradeDate { getset; }
    public TradeType TradeType { getset; }
    public int UserId { getset; }
    public string UserName { getset; }
    public double? Yield { getset; }
}

 

public class CreateAllocationResponse
{
    public int? AllocationId { getset; }
    public BackOfficeStatus BackOfficeStatus { getset; }
    public string Message { getset; }
    public bool Success { getset; }
}