Table of Contents

Class ReturnMerchandiseAuthorizationComment

Namespace
Dynamicweb.Ecommerce.Orders.ReturnMerchandiseAuthorization
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

string

Created

Gets or sets the comment created time.

public DateTime Created { get; }

Property Value

DateTime

Id

Gets or sets the comment id.

public int Id { get; set; }

Property Value

int

Images

Gets or sets the comment image collection.

public ReturnMerchandiseAuthorizationCommentImageCollection Images { get; set; }

Property Value

ReturnMerchandiseAuthorizationCommentImageCollection

NewRmaState

Gets the comment new rma state.

public ReturnMerchandiseAuthorizationState NewRmaState { get; }

Property Value

ReturnMerchandiseAuthorizationState

ReturnMerchandiseAuthorization

Gets or sets the comment rma.

public ReturnMerchandiseAuthorization ReturnMerchandiseAuthorization { get; }

Property Value

ReturnMerchandiseAuthorization

RmaId

public string RmaId { get; }

Property Value

string

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 DataRow

The DataRow.

rma ReturnMerchandiseAuthorization

The rma

Fill(IDataReader)

public void Fill(IDataReader record)

Parameters

record IDataReader

GetComment()

Gets the rma comment text.

public string GetComment()

Returns

string

GetCommentById(int)

public static ReturnMerchandiseAuthorizationComment GetCommentById(int commentId)

Parameters

commentId int

Returns

ReturnMerchandiseAuthorizationComment

GetCommentDescription()

Gets the rma comment description.

public string GetCommentDescription()

Returns

string

Remarks

Description is taken from ReturnMerchandiseAuthorizationEvent.

GetEvent()

Gets the rma comment event.

public ReturnMerchandiseAuthorizationEvent GetEvent()

Returns

ReturnMerchandiseAuthorizationEvent

Save()

public int Save()

Returns

int
To top