From 3421958d51058f745a23dab7393e518a5910d6f5 Mon Sep 17 00:00:00 2001 From: Mike Audi Date: Tue, 3 Oct 2023 22:52:49 -0500 Subject: [PATCH] fix: cosmetic only --- .../capture/receipt/capacitor/plugin/js/JSProduct.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/android/src/main/kotlin/com/mytiki/sdk/capture/receipt/capacitor/plugin/js/JSProduct.kt b/android/src/main/kotlin/com/mytiki/sdk/capture/receipt/capacitor/plugin/js/JSProduct.kt index 07ebd0f2..d39e871d 100644 --- a/android/src/main/kotlin/com/mytiki/sdk/capture/receipt/capacitor/plugin/js/JSProduct.kt +++ b/android/src/main/kotlin/com/mytiki/sdk/capture/receipt/capacitor/plugin/js/JSProduct.kt @@ -96,11 +96,11 @@ class JSProduct(product: Product) { init { productNumber = JSStringType.opt(product.productNumber()) - this.description = JSStringType.opt(product.description()) - this.quantity = JSFloatType.opt(product.quantity()) - this.unitPrice = JSFloatType.opt(product.unitPrice()) - this.unitOfMeasure = JSStringType.opt(product.unitOfMeasure()) - this.totalPrice = JSFloatType.opt(product.totalPrice()) + description = JSStringType.opt(product.description()) + quantity = JSFloatType.opt(product.quantity()) + unitPrice = JSFloatType.opt(product.unitPrice()) + unitOfMeasure = JSStringType.opt(product.unitOfMeasure()) + totalPrice = JSFloatType.opt(product.totalPrice()) fullPrice = product.fullPrice() line = product.line() productName = product.productName()