Class ReturnMerchandiseAuthorizationComment
- Assembly
- Dynamicweb.Ecommerce.dll
The class ReturnMerchandiseAuthorizationComment represents comment for ReturnMerchandiseAuthorization.
public class ReturnMerchandiseAuthorizationComment
- Inheritance
-
ReturnMerchandiseAuthorizationComment
- Inherited Members
Constructors
ReturnMerchandiseAuthorizationComment()
Initializes a new instance of the ReturnMerchandiseAuthorizationComment class.
public ReturnMerchandiseAuthorizationComment()
ReturnMerchandiseAuthorizationComment(string)
public ReturnMerchandiseAuthorizationComment(string rmaId)
Parameters
rmaId
string
Properties
CommentText
Gets or sets the comment text.
public string CommentText { get; set; }
Property Value
Created
Gets or sets the comment created time.
public DateTime Created { get; }
Property Value
Id
Gets or sets the comment id.
public int Id { get; set; }
Property Value
Images
Gets or sets the comment image collection.
public ReturnMerchandiseAuthorizationCommentImageCollection Images { get; set; }
Property Value
NewRmaState
Gets the comment new rma state.
public ReturnMerchandiseAuthorizationState NewRmaState { get; }
Property Value
ReturnMerchandiseAuthorization
Gets or sets the comment rma.
public ReturnMerchandiseAuthorization ReturnMerchandiseAuthorization { get; }
Property Value
RmaId
public string RmaId { get; }
Property Value
Methods
AddImage(string)
Adds and image to comment with given path.
public void AddImage(string imagePath)
Parameters
imagePath
string
Fill(DataRow, ReturnMerchandiseAuthorization)
Fills the rma comment with data from given row.
public void Fill(DataRow dataRow, ReturnMerchandiseAuthorization rma)
Parameters
dataRow
DataRowThe DataRow.
rma
ReturnMerchandiseAuthorizationThe rma
Fill(IDataReader)
public void Fill(IDataReader record)
Parameters
record
IDataReader
GetComment()
Gets the rma comment text.
public string GetComment()
Returns
GetCommentById(int)
public static ReturnMerchandiseAuthorizationComment GetCommentById(int commentId)
Parameters
commentId
int
Returns
GetCommentDescription()
Gets the rma comment description.
public string GetCommentDescription()
Returns
Remarks
Description is taken from ReturnMerchandiseAuthorizationEvent.
GetEvent()
Gets the rma comment event.
public ReturnMerchandiseAuthorizationEvent GetEvent()
Returns
Save()
public int Save()