TamaraSdk class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

platform MethodChannel
getter/setter pair

Static Methods

addCustomFieldsAdditionalData(String jsonData) Future<void>
addItem(String name, String referenceId, String sku, String type, double unitPrice, double tax, double discount, int quantity) Future<void>
authoriseOrder(String orderId) Future<String>
cancelOrder(String orderId, String jsonData) Future<String>
checkPaymentOptions(String jsonData) Future<Object>
clearItem() Future<void>
createOrder(String orderReferenceId, String description) Future<void>
getCapturePayment(String jsonData) Future<Object>
getOrderDetail(String orderId) Future<String>
initSdk(String authToken, String apiUrl, String notificationWebHookUrl, String publishKey, String notificationToken, bool isSandbox) Future<void>
paymentOrder() Future<String>
refunds(String orderId, String jsonData) Future<Object>
renderCartPage(String language, String country, String publicKey, double amount) Future<String>
renderProduct(String language, String country, String publicKey, double amount) Future<String>
setAdditionalData(String jsonData) Future<void>
setBillingAddress(String firstName, String lastName, String phoneNumber, String addressLine1, String addressLine2, String country, String region, String city) Future<void>
setCountry(String countryCode, String currency) Future<void>
setCurrency(String newCurrency) Future<void>
setCustomerInfo(String firstName, String lastName, String phoneNumber, String email, bool isFirstOrder) Future<void>
setDiscount(double amount, String name) Future<void>
setExpiresInMinutes(int expiresInMinutes) Future<void>
setInstalments(int instalments) Future<void>
setLocale(String locale) Future<void>
setOrderNumber(String orderNumber) Future<void>
setPaymentType(String paymentType) Future<void>
setPlatform(String platfm) Future<void>
setRiskAssessment(String jsonData) Future<bool>
setShippingAddress(String firstName, String lastName, String phoneNumber, String addressLine1, String addressLine2, String country, String region, String city) Future<void>
setShippingAmount(double amount) Future<void>
showToast(String message) → dynamic
updateOrderReference(String orderId, String orderReferenceId) Future<String>