Class ReturnMerchandiseAuthorizationCommentCollection
- Assembly
- Dynamicweb.Ecommerce.dll
The class ReturnMerchandiseAuthorizationCommentCollection represents ReturnMerchandiseAuthorizationComment collection.
public class ReturnMerchandiseAuthorizationCommentCollection : Collection<ReturnMerchandiseAuthorizationComment>, IList<ReturnMerchandiseAuthorizationComment>, ICollection<ReturnMerchandiseAuthorizationComment>, IReadOnlyList<ReturnMerchandiseAuthorizationComment>, IReadOnlyCollection<ReturnMerchandiseAuthorizationComment>, IEnumerable<ReturnMerchandiseAuthorizationComment>, IList, ICollection, IEnumerable
- Inheritance
-
ReturnMerchandiseAuthorizationCommentCollection
- Implements
- Inherited Members
- Extension Methods
Properties
RmaId
Gets or sets the rma id.
public string RmaId { get; set; }
Property Value
Methods
AddComment(ref ReturnMerchandiseAuthorizationState, ref string, ref ReturnMerchandiseAuthorizationEvent, ReturnMerchandiseAuthorization, ReturnMerchandiseAuthorizationCommentImageCollection)
Adds the comment.
public void AddComment(ref ReturnMerchandiseAuthorizationState newState, ref string commentText, ref ReturnMerchandiseAuthorizationEvent returnMerchandiseAuthorizationEvent, ReturnMerchandiseAuthorization returnMerchandiseAuthorization, ReturnMerchandiseAuthorizationCommentImageCollection images)
Parameters
newState
ReturnMerchandiseAuthorizationState- The new rma state.
commentText
string- The text of new comment.
returnMerchandiseAuthorizationEvent
ReturnMerchandiseAuthorizationEvent- The event.
returnMerchandiseAuthorization
ReturnMerchandiseAuthorization- The rma instance.
images
ReturnMerchandiseAuthorizationCommentImageCollection- The rma images.
GetCommentsByRma(ReturnMerchandiseAuthorization)
Gets comment collection for given rma.
public static ReturnMerchandiseAuthorizationCommentCollection GetCommentsByRma(ReturnMerchandiseAuthorization rma)
Parameters
rma
ReturnMerchandiseAuthorization- The rma instance.
Returns
SaveComments()
Saves all new Comments in this ReturnMerchandiseAuthorizationCommentCollection.
public void SaveComments()