C# Class Restbucks.Service.Mappers.PaymentRepresentationMapper

显示文件 Open project: SzymonPobiega/restbucks-wcf Class Usage Examples

Public Methods

Method Description
GetDomainObject ( PaymentRepresentation paymentRepresentation ) : PaymentInformation
GetRepresentation ( PaymentInformation paymentInformation ) : PaymentRepresentation

Method Details

GetDomainObject() public method

public GetDomainObject ( PaymentRepresentation paymentRepresentation ) : PaymentInformation
paymentRepresentation Restbucks.Service.Representations.PaymentRepresentation
return Restbucks.Service.Domain.PaymentInformation

GetRepresentation() public method

public GetRepresentation ( PaymentInformation paymentInformation ) : PaymentRepresentation
paymentInformation Restbucks.Service.Domain.PaymentInformation
return Restbucks.Service.Representations.PaymentRepresentation