public interface ExternalOrderFacade
For more detail information about Web Service, please refer to the link of API documentation below
| 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.
|
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)
requestId - Request Id as LongpointOfSalesId - Point of sales id as LongorderId - Order Id as LongfileId - File Id as LongorderType - OrderTypepurchasersInfo - List of ContactDataexternalReference - External reference as StringcomposedProductOperations - List of ComposedProductOperationCreationDatasingleEntryAttributionOperations - List of SingleEntryOperationAttributionDatasimpleProductOperations - List of SimpleProductOperationCreationDatatransportProductOperations - List of TransportProductOperationCreationDatachargeOperations - List of ChargeOperationorigin - OrderOriginDatafileContacts - List of FileContactDataisResumeAllOptionOperations - Boolean valueisResumeAllReservationOperations - Boolean valueOrderUpdateResultPaymentAndCloseOrderResult 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)
requestId - Request Id as LongorderId - Order Id as Longpayments - List of PaymentInfopaymentParams - PaymentParametersexternalReference - External reference as StringorderType - OrderTypemaxWaitingTime - Maximal of time waiting as LongpurchasersInfo - List of ContactDatatickets - List of TicketDataexternalRemark - External remark as StringfileContacts - List of FileContactDataoneTimeCodes - List of time codes as StringfileData - FileDatacancellationInsuranceData - CancellationInsuranceDataisConvertedReservation - Boolean valuecreateToken - Boolean valuecontactRemark - Contact remarks as StringPaymentAndCloseOrderResultWebMethodResult isExternalOrderFacadeAlive()
WebMethodResultOrderUpdateResult refundTicketOrder(Integer requestId, Long pointOfSalesId, OrderType orderType, Long orderId, String externalReference, List<TicketInfo> ticketInfos, Boolean autoClose, String refundReason)
requestId - Request Id as LongpointOfSalesId - Point of sales id as LongorderType - OrderTypeorderId - Order Id as LongexternalReference - External reference as StringticketInfos - List of TicketInfoautoClose - Boolean valuerefundReason - Refund reason as StringOrderUpdateResultCopyright © 2021. All rights reserved.