Skip to content

Commit

Permalink
fix(GiniBankSDK): Fix lint issues
Browse files Browse the repository at this point in the history
PP-981
  • Loading branch information
zladzeyka committed Jan 29, 2025
1 parent 6b4d34a commit 3bfd23d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ protocol EditLineItemViewModelDelegate: AnyObject {
final class EditLineItemViewModel {
weak var delegate: EditLineItemViewModelDelegate?
private var lineItem: DigitalInvoice.LineItem
private (set) var itemsChanged: [GiniLineItemAnalytics] = []
private(set) var itemsChanged: [GiniLineItemAnalytics] = []

var name: String? {
return lineItem.name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class SkontoDocumentPagesViewModel: DocumentPagesViewModelProtocol {
private var expiryDate: Date

// Information to be displayed in the screen after highlighting Skonto details
private (set) var processedImages = [UIImage]()
private(set) var processedImages = [UIImage]()
static var screenTitle = NSLocalizedStringPreferredGiniBankFormat("ginibank.skonto.document.pages.screen.title",
comment: "Skonto discount details")
var bottomInfoItems: [String] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@ class SkontoViewModel {
var proceedAction: (() -> Void)?

private let skontoDiscounts: SkontoDiscounts
private (set) var isWithDiscountSwitchAvailable: Bool
private(set) var isWithDiscountSwitchAvailable: Bool
private var skontoPercentage: Double

private (set) var isSkontoApplied: Bool = true
private (set) var amountToPay: Price
private (set) var skontoAmountToPay: Price
private(set) var isSkontoApplied: Bool = true
private(set) var amountToPay: Price
private(set) var skontoAmountToPay: Price

private (set) var dueDate: Date
private (set) var amountDiscounted: Price
private (set) var currencyCode: String
private (set) var remainingDays: Int
private (set) var paymentMethod: SkontoDiscountDetails.PaymentMethod
private (set) var edgeCase: SkontoEdgeCase?
private(set) var dueDate: Date
private(set) var amountDiscounted: Price
private(set) var currencyCode: String
private(set) var remainingDays: Int
private(set) var paymentMethod: SkontoDiscountDetails.PaymentMethod
private(set) var edgeCase: SkontoEdgeCase?

private (set) var documentPagesViewModel: SkontoDocumentPagesViewModel?
private(set) var documentPagesViewModel: SkontoDocumentPagesViewModel?

private var maximumAmountToPayValue: Decimal = 99999.99

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class TransactionDocsItemView: UIView {

private let configuration = GiniBankConfiguration.shared

private (set) var transactionDocsItem: TransactionDoc?
private(set) var transactionDocsItem: TransactionDoc?

var optionsAction: (() -> Void)?

Expand Down

0 comments on commit 3bfd23d

Please sign in to comment.