Package io.revenuemonster.sdk.model.response

Types

Banks
Link copied to clipboard
common
data class Banks(code: String, isOnline: Boolean, name: String)
CheckBalance
Link copied to clipboard
common
data class CheckBalance(id: String, referenceId: String, credit: Long)
CheckMemberResponse
Link copied to clipboard
common
data class CheckMemberResponse(exist: Boolean)
CheckWalletHistory
Link copied to clipboard
common
data class CheckWalletHistory(id: String, referenceId: String, walletId: String, type: String, referenceType: String, reference: String, credit: Long, currentCredit: Long, sequenceId: Long, transactionAt: Instant)
ChopStampResponse
Link copied to clipboard
common
data class ChopStampResponse(id: String, key: String, noOfChoppedStamp: Int, isCompleted: Boolean, startAt: Instant, endAt: Instant, createdAt: Instant, updatedAt: Instant)
DailySettlementReportResponse
Link copied to clipboard
common
data class DailySettlementReportResponse(transactionAt: Instant, merchantId: String, merchantName: String, storeId: String, storeName: String, region: String, method: String, transactionType: String, type: String, transactionId: String, orderId: String, currencyType: String, grossAmount: Double, mdr: Double, serviceFee: Double, settlementAmount: Double)
GetQRCodeByCheckoutIDResponse
Link copied to clipboard
common
data class GetQRCodeByCheckoutIDResponse(type: String, qrcode: QRData)
GetTransactionOrder
Link copied to clipboard
common
data class GetTransactionOrder(id: String, title: String, detail: String, additionalData: String, amount: Int)
GetTransactionQRURLResponse
Link copied to clipboard
common
data class GetTransactionQRURLResponse(storeId: String?, type: String, isPreFillAmount: Boolean, currencyType: String, amount: Int, platform: String, method: List<String>, expiry: Expiry, code: String, status: String, qrCodeUrl: String, redirectUrl: String, createAt: Instant?, updateAt: Instant?)
GetTransactionResponse
Link copied to clipboard
common
data class GetTransactionResponse(store: Store, referenceId: String, transactionId: String, order: GetTransactionOrder, terminalId: String, currencyType: String, balanceAmount: Int, platform: String, method: String, error: TransactionError?, transactionAt: Instant, type: String, status: String, region: String, createdAt: Instant, updatedAt: Instant)
GetURLByCheckoutIDResponse
Link copied to clipboard
common
data class GetURLByCheckoutIDResponse(type: String, url: String)
GourmetCard
Link copied to clipboard
common
data class GourmetCard(id: String, name: String, lifetime: Int, lifetimeType: String, amount: Int, currency: String, discountType: String, discountValue: String, minimumSpentAmount: Int, wallet: String, templateId: String, status: String, image: String, icon: String, createAt: Instant, updateAt: Instant)
GourmetCardResponse
Link copied to clipboard
common
data class GourmetCardResponse(id: String, transactionId: String, cardId: String, memberId: String, expiredAt: Instant, createdAt: Instant, updateAt: Instant, card: GourmetCard)
InvoiceAddress
Link copied to clipboard
common
data class InvoiceAddress(addressLine1: String, addressLine2: String, postcode: String, city: String, state: String, country: String)
IssueVoucherResponse
Link copied to clipboard
common
data class IssueVoucherResponse(code: String, qrUrl: String)
LoyaltyMemberHistory
Link copied to clipboard
common
data class LoyaltyMemberHistory(key: String, merchantKey: String, type: String, description: String, point: Int, credit: Int, creditBalance: Int, createdAt: Instant, updatedAt: Instant)
MemberAuthorizeResponse
Link copied to clipboard
common
data class MemberAuthorizeResponse(profile: MemberProfile, url: String)
MerchantProfile
Link copied to clipboard
common
data class MerchantProfile(id: String, companyName: String, companyType: String, companyLogoUrl: String, registrationNumber: String, businessCategory: String, establishedAt: String, countryCode: String, phoneNumber: String, addressLine1: String, addressLine2: String, postcode: String, city: String, state: String, country: String, invoiceAddress: InvoiceAddress, isActive: Boolean, status: String, isMasterMerchant: Boolean, masterMerchantId: String, isPartner: Boolean, partnerId: String, gstNo: String, createdAt: Instant, updatedAt: Instant)
MerchantSubscriptions
Link copied to clipboard
common
data class MerchantSubscriptions(id: Int, gracePeriod: Int, expiryAt: Instant, terminateAt: Instant, status: String)
OnlineTransaction
Link copied to clipboard
common
data class OnlineTransaction(id: String, order: Order, type: String, transactionId: String, platform: String, method: List<String>, redirectUrl: String, notifyUrl: String, startAt: Instant, endAt: Instant, status: String, createdAt: Instant, updatedAt: Instant)
Point
Link copied to clipboard
common
data class Point(point: Int)
QRData
Link copied to clipboard
common
data class QRData(base64Image: String, data: String)
QRUrl
Link copied to clipboard
common
data class QRUrl(id: String?, qrCodeUrl: String)
QuickPayResponse
Link copied to clipboard
common
data class QuickPayResponse(store: Store, referenceId: String, transactionId: String, order: QuickPayResponseOrder, terminalId: String, currencyType: String, balanceAmount: Long, platform: String, method: String, transactionAt: Instant, type: String, status: String, region: String, createdAt: Instant, updatedAt: Instant)
QuickPayResponseOrder
Link copied to clipboard
common
data class QuickPayResponseOrder(id: String, title: String, detail: String, amount: Int)
RefundResponse
Link copied to clipboard
common
data class RefundResponse(store: Store, referenceId: String, transactionId: String, order: TransactionOrder, terminalId: String, currencyType: String, balanceAmount: Int, platform: String, method: String, transactionAt: Instant, type: String, status: String, region: String, createdAt: Instant, updatedAt: Instant)
ReverseResponse
Link copied to clipboard
common
data class ReverseResponse(referenceId: String, transactionId: String, order: TransactionOrder, terminalId: String, currencyType: String, balanceAmount: Int, platform: String, method: String, transactionAt: Instant, type: String, status: String, region: String, createdAt: Instant, updatedAt: Instant)
Reward
Link copied to clipboard
common
data class Reward(id: String, label: String, imageUrl: String, point: Int, payload: Payload, isShipping: Boolean, quantity: Int, balanceQuantity: Int, usedQuantity: Int, redeemQuantity: Int, isEnabled: Boolean, limitPerUser: Int, status: String, isCombo: Boolean, type: String, createdAt: Instant, updatedAt: Instant, expiredAt: Instant)
TopUpBalanceOfflineResponse
Link copied to clipboard
common
data class TopUpBalanceOfflineResponse(store: Store, referenceId: String, transactionId: String, order: TopUpBalanceOrderResponse, currencyType: String, platform: String, method: String, type: String, status: String, region: String, createdAt: Instant, updatedAt: Instant)
TopUpBalanceOnlineResponse
Link copied to clipboard
common
data class TopUpBalanceOnlineResponse(paymentUrl: String)
TopUpBalanceOrderResponse
Link copied to clipboard
common
data class TopUpBalanceOrderResponse(id: String, title: String, detail: String, amount: Int)
TopUpHistory
Link copied to clipboard
common
data class TopUpHistory(id: String, walletId: String, referenceId: String, adminId: String, detail: String, method: String, status: String, credit: String, createdAt: Instant)
TopUpWalletRequest
Link copied to clipboard
common
data class TopUpWalletRequest(redirect: String, amount: Int)
Transaction
Link copied to clipboard
common
data class Transaction(store: Store, referenceId: String, transactionId: String, order: TransactionOrder, terminalId: String, currencyType: String, balanceAmount: Int, platform: String, method: String, transactionAt: Instant, type: String, status: String, region: String, createdAt: Instant, updatedAt: Instant)
TransactionError
Link copied to clipboard
common
data class TransactionError(message: String)
TransactionOrder
Link copied to clipboard
common
data class TransactionOrder(id: String, title: String, detail: String, amount: Int)
TransactionQRResponse
Link copied to clipboard
common
data class TransactionQRResponse(store: Store, type: String, isPreFillAmount: Boolean, currencyType: String, amount: Long, platform: String, method: List<String>?, expiry: Expiry?, code: String, status: String, qrCodeUrl: String, redirectUrl: String, order: TransactionQROrder, createdAt: Instant, updatedAt: Instant)
UserProfile
Link copied to clipboard
common
data class UserProfile(id: String, firstName: String, lastName: String, countryCode: String, phoneNumber: String, email: String, avatarUrl: String, status: String, storeId: String?, isActive: Boolean, createdAt: Instant, updatedAt: Instant)
Voucher
Link copied to clipboard
common
data class Voucher(key: String, label: String, voucherBatchKey: String?, type: String, amount: Int?, discountRate: Int, minimumSpendAmount: Int?, origin: String, imageUrl: String, memberProfile: String?, assignedAt: Instant, qrUrl: String, code: String, isShipping: Boolean, address: String?, expiry: Expiry, usedAt: Instant, redeemedAt: Instant, isDeviceRedeem: Boolean, status: String, createdAt: Instant, updatedAt: Instant)
Vouchers
Link copied to clipboard
common
data class Vouchers(id: String, key: String, label: String, type: String, amount: Int?, discountRate: Int, minimumSpendAmount: Int?, imageUrl: String, quantity: Int, balanceQuantity: Int, usedQuantity: Int, status: String, expiry: Expiry, origin: String, isShipping: Boolean, staticCode: String, isDeviceRedeem: Boolean, createdAt: Instant, updatedAt: Instant)
WebMobilePaymentResponse
Link copied to clipboard
common
data class WebMobilePaymentResponse(checkoutId: String, url: String)