public class ExternalOrderFacadeEmpty extends Object implements ExternalOrderFacade
ExternalOrderFacade
interface.Constructor and Description |
---|
ExternalOrderFacadeEmpty() |
Modifier and Type | Method and Description |
---|---|
OrderUpdateResult |
createOrUpdateOrder(Integer requestId,
Long pointOfSalesId,
Long orderId,
Long fileId,
OrderType orderType,
List<ContactData> purchasersInfo,
String externalReference,
List<ComposedProductOperationCreationData> composedProductOperations,
List<SingleEntryOperationAttributionData> singleEntryAttributionOperations,
List<SimpleProductOperationCreationData> simpleProductOperations,
List<TransportProductOperationCreationData> transportProductOperations,
List<ChargeOperation> chargeOperations,
OrderOriginData origin,
List<FileContactData> fileContacts,
boolean isResumeAllOptionOperations,
boolean isResumeAllReservationOperations)
Generally, this method intends for creating and updating any order in the system.
|
PaymentAndCloseOrderResult |
createPaymentsAndCloseOrder(Integer requestId,
Long orderId,
List<PaymentInfo> payments,
PaymentParameters paymentParams,
String externalReference,
OrderType orderType,
Long maxWaitingTime,
List<ContactData> purchasersInfo,
List<TicketData> tickets,
String externalRemark,
List<FileContactData> fileContacts,
List<String> oneTimeCodes,
FileData fileData,
CancellationInsuranceData cancellationInsuranceData,
boolean isConvertedReservation,
boolean createToken,
String contactRemark)
Validates given Sale order, creates payment and closes the order.
|
WebMethodResult |
isExternalOrderFacadeAlive()
Validate network connection and login/password.
|
OrderUpdateResult |
refundTicketOrder(Integer requestId,
Long pointOfSalesId,
OrderType orderType,
Long orderId,
String externalReference,
List<TicketInfo> ticketInfos,
Boolean autoClose,
String refundReason)
Creates an order refunding the tickets passed in the ticketInfos parameter.
|
public OrderUpdateResult createOrUpdateOrder(Integer requestId, Long pointOfSalesId, Long orderId, Long fileId, OrderType orderType, List<ContactData> purchasersInfo, String externalReference, List<ComposedProductOperationCreationData> composedProductOperations, List<SingleEntryOperationAttributionData> singleEntryAttributionOperations, List<SimpleProductOperationCreationData> simpleProductOperations, List<TransportProductOperationCreationData> transportProductOperations, List<ChargeOperation> chargeOperations, OrderOriginData origin, List<FileContactData> fileContacts, boolean isResumeAllOptionOperations, boolean isResumeAllReservationOperations)
createOrUpdateOrder
in interface ExternalOrderFacade
requestId
- Request Id as Long
pointOfSalesId
- Point of sales id as Long
orderId
- Order Id as Long
fileId
- File Id as Long
orderType
- OrderType
purchasersInfo
- List of ContactData
externalReference
- External reference as String
composedProductOperations
- List of ComposedProductOperationCreationData
singleEntryAttributionOperations
- List of SingleEntryOperationAttributionData
simpleProductOperations
- List of SimpleProductOperationCreationData
transportProductOperations
- List of TransportProductOperationCreationData
chargeOperations
- List of ChargeOperation
origin
- OrderOriginData
fileContacts
- List of FileContactData
isResumeAllOptionOperations
- Boolean
valueisResumeAllReservationOperations
- Boolean
valueOrderUpdateResult
public PaymentAndCloseOrderResult createPaymentsAndCloseOrder(Integer requestId, Long orderId, List<PaymentInfo> payments, PaymentParameters paymentParams, String externalReference, OrderType orderType, Long maxWaitingTime, List<ContactData> purchasersInfo, List<TicketData> tickets, String externalRemark, List<FileContactData> fileContacts, List<String> oneTimeCodes, FileData fileData, CancellationInsuranceData cancellationInsuranceData, boolean isConvertedReservation, boolean createToken, String contactRemark)
createPaymentsAndCloseOrder
in interface ExternalOrderFacade
requestId
- Request Id as Long
orderId
- Order Id as Long
payments
- List of PaymentInfo
paymentParams
- PaymentParameters
externalReference
- External reference as String
orderType
- OrderType
maxWaitingTime
- Maximal of time waiting as Long
purchasersInfo
- List of ContactData
tickets
- List of TicketData
externalRemark
- External remark as String
fileContacts
- List of FileContactData
oneTimeCodes
- List of time codes as String
fileData
- FileData
cancellationInsuranceData
- CancellationInsuranceData
isConvertedReservation
- Boolean
valuecreateToken
- Boolean
valuecontactRemark
- Contact remarks as String
PaymentAndCloseOrderResult
public WebMethodResult isExternalOrderFacadeAlive()
isExternalOrderFacadeAlive
in interface ExternalOrderFacade
WebMethodResult
public OrderUpdateResult refundTicketOrder(Integer requestId, Long pointOfSalesId, OrderType orderType, Long orderId, String externalReference, List<TicketInfo> ticketInfos, Boolean autoClose, String refundReason)
ExternalOrderFacade
refundTicketOrder
in interface ExternalOrderFacade
requestId
- Request Id as Long
pointOfSalesId
- Point of sales id as Long
orderType
- OrderType
orderId
- Order Id as Long
externalReference
- External reference as String
ticketInfos
- List of TicketInfo
autoClose
- Boolean
valuerefundReason
- Refund reason as String
OrderUpdateResult
Copyright © 2021. All rights reserved.