Class OrderNotesManager
Inheritance
System.Object
OrderNotesManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Orders.Managers
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public static class OrderNotesManager
Methods
AddNoteToPaymentPlan(PaymentPlan, String, OrderNoteTypes, Guid)
Adds the note to payment plan.
Declaration
public static void AddNoteToPaymentPlan(PaymentPlan plan, string noteDetails, OrderNoteTypes type, Guid originator)
Parameters
Type | Name | Description |
---|---|---|
PaymentPlan | plan | The plan. |
System.String | noteDetails | The note details. |
OrderNoteTypes | type | The type. |
System.Guid | originator | The originator. |
AddNoteToPurchaseOrder(PurchaseOrder, String, OrderNoteTypes, Guid)
Adds the note to purchase order.
Declaration
public static void AddNoteToPurchaseOrder(PurchaseOrder purchaseOrder, string noteDetails, OrderNoteTypes type, Guid originator)
Parameters
Type | Name | Description |
---|---|---|
PurchaseOrder | purchaseOrder | The purchase order. |
System.String | noteDetails | The note details. |
OrderNoteTypes | type | The type. |
System.Guid | originator | The originator. |
AddSystemNoteToPaymentPlan(PaymentPlan, String)
Adds the system note to payment plan.
Declaration
public static void AddSystemNoteToPaymentPlan(PaymentPlan plan, string noteDetails)
Parameters
Type | Name | Description |
---|---|---|
PaymentPlan | plan | The plan. |
System.String | noteDetails | The note details. |
AddSystemNoteToPurchaseOrder(PurchaseOrder, String)
Adds the system note to purchase order.
Declaration
public static void AddSystemNoteToPurchaseOrder(PurchaseOrder purchaseOrder, string noteDetails)
Parameters
Type | Name | Description |
---|---|---|
PurchaseOrder | purchaseOrder | The purchase order. |
System.String | noteDetails | The note details. |
GetDefinedOrderNoteTypes()
Declaration
public static IEnumerable<string> GetDefinedOrderNoteTypes()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
RemoveNotesFromPurchaseOrder(PurchaseOrder, IEnumerable<Int32>)
Remove specific notes belong to a purchase order.
Declaration
public static void RemoveNotesFromPurchaseOrder(PurchaseOrder purchaseOrder, IEnumerable<int> orderNoteIds)
Parameters
Type | Name | Description |
---|---|---|
PurchaseOrder | purchaseOrder | The purchase order. |
System.Collections.Generic.IEnumerable<System.Int32> | orderNoteIds | The list of order note ids. |