Package io.revenuemonster.sdk.model.common

Types

Address
Link copied to clipboard
common
data class Address(addressLine1: String, addressLine2: String, postcode: String, city: String, state: String, country: String)
ContactInfo
Link copied to clipboard
common
data class ContactInfo(email: String, phoneNumber: String)
Expiry
Link copied to clipboard
common
data class Expiry(type: ExpiryType, day: Int?, expiredAt: String?)
ExtraInfo
Link copied to clipboard
common
data class ExtraInfo(type: String, reference: String)
GeoLocation
Link copied to clipboard
common
data class GeoLocation(latitude: Float, longitude: Float)
LoyaltyMember
Link copied to clipboard
common
data class LoyaltyMember(id: String, name: String, email: String, nric: String, address: Address, gender: String, state: String, birthDate: Instant, loyaltyPoint: Int, countryCode: String, phoneNumber: String, profileImageUrl: String, hasPinCode: Boolean, status: String, createdAt: Instant)
MemberProfile
Link copied to clipboard
common
data class MemberProfile(id: String, key: String, name: String, email: String, nric: String, birthDate: String, gender: String, address: Address, memberTier: String?, totalLoyaltyPoint: Int, hasPinCode: Boolean, loyaltyPointBalance: Int, spendingPoint: Int, creditBalance: Int, status: String, createdAt: Instant, updatedAt: Instant)
Order
Link copied to clipboard
common
data class Order(id: String, title: String, detail: String, amount: Int, currencyType: String, additionalData: String)
Payee
Link copied to clipboard
common
data class Payee(userId: String)
Payload
Link copied to clipboard
common
data class Payload(tnc: List<String>, contactInfo: ContactInfo)
Store
Link copied to clipboard
common
data class Store(id: String, name: String, addressLine1: String, addressLine2: String, postCode: String, city: String, state: String, country: String, countryCode: String, phoneNumber: String, geoLocation: GeoLocation, status: String, createdAt: Instant, updatedAt: Instant)
TransactionQROrder
Link copied to clipboard
common
data class TransactionQROrder(detail: String, title: String, additionalData: String)