Skip to content

Commit

Permalink
Cleanup unused PaymentChooserOption's sorting property
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Solovev committed Nov 27, 2023
1 parent 0c1d495 commit f49c024
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions OmiseSDK/PaymentChooserViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,44 +39,6 @@ enum PaymentChooserOption: CaseIterable, Equatable, CustomStringConvertible {
case grabPayRms
case payPay

static var sorting: [PaymentChooserOption] {
return [
.creditCard,
.installment,
.promptpay,
.citiPoints,
.alipay,
.alipayCN,
.alipayHK,
.atome,
.dana,
.gcash,
.kakaoPay,
.touchNGoAlipayPlus,
.internetBanking,
.mobileBanking,
.tescoLotus,
.paynow,
.conbini,
.payEasy,
.netBanking,
.fpx,
.rabbitLinepay,
.ocbcPao,
.ocbcDigital,
.grabPay,
.boost,
.shopeePay,
.shopeePayJumpApp,
.maybankQRPay,
.duitNowQR,
.duitNowOBW,
.touchNGo,
.grabPayRms,
.payPay
]
}

var description: String {
switch self {
case .creditCard:
Expand Down

0 comments on commit f49c024

Please sign in to comment.