| Package | Description |
|---|---|
| com.bymdev.voucherhub.api | |
| com.bymdev.voucherhub.model |
| Modifier and Type | Method and Description |
|---|---|
GenericStatusDTO |
VoucherResourceApi.cancelValidation(String transactionTag,
String reason,
OrderNoteParamDTO note)
[V2] Cancel validation for the voucher
Required permissions: CAN_CANCEL_VALIDATION
|
GenericStatusDTO |
VoucherResourceApi.cancelVoucher(Long orderId,
String voucherId,
OrderNoteParamDTO note)
cancelVoucher
Required permissions: CAN_CANCEL_ORDER
|
GenericStatusDTO |
OrderRecordResourceApi.mergeVouchers(Long orderId,
String newVoucherId)
mergeVouchers
Replaces voucher IDs of order items with new voucher ID in the specified order.
|
| Modifier and Type | Method and Description |
|---|---|
ApiResponse<GenericStatusDTO> |
VoucherResourceApi.cancelValidationWithHttpInfo(String transactionTag,
String reason,
OrderNoteParamDTO note)
[V2] Cancel validation for the voucher
Required permissions: CAN_CANCEL_VALIDATION
|
ApiResponse<GenericStatusDTO> |
VoucherResourceApi.cancelVoucherWithHttpInfo(Long orderId,
String voucherId,
OrderNoteParamDTO note)
cancelVoucher
Required permissions: CAN_CANCEL_ORDER
|
ApiResponse<GenericStatusDTO> |
OrderRecordResourceApi.mergeVouchersWithHttpInfo(Long orderId,
String newVoucherId)
mergeVouchers
Replaces voucher IDs of order items with new voucher ID in the specified order.
|
| Modifier and Type | Method and Description |
|---|---|
com.squareup.okhttp.Call |
VoucherResourceApi.cancelValidationAsync(String transactionTag,
String reason,
OrderNoteParamDTO note,
ApiCallback<GenericStatusDTO> callback)
[V2] Cancel validation for the voucher (asynchronously)
Required permissions: CAN_CANCEL_VALIDATION
|
com.squareup.okhttp.Call |
VoucherResourceApi.cancelVoucherAsync(Long orderId,
String voucherId,
OrderNoteParamDTO note,
ApiCallback<GenericStatusDTO> callback)
cancelVoucher (asynchronously)
Required permissions: CAN_CANCEL_ORDER
|
com.squareup.okhttp.Call |
OrderRecordResourceApi.mergeVouchersAsync(Long orderId,
String newVoucherId,
ApiCallback<GenericStatusDTO> callback)
mergeVouchers (asynchronously)
Replaces voucher IDs of order items with new voucher ID in the specified order.
|
| Modifier and Type | Method and Description |
|---|---|
GenericStatusDTO |
GenericStatusDTO.message(String message) |
GenericStatusDTO |
GenericStatusDTO.status(GenericStatusDTO.StatusEnum status) |
Copyright © 2018. All rights reserved.