Skip to content

Commit

Permalink
Obsolete Citi Pay with Point
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Solovev committed Apr 22, 2024
1 parent 59cadd7 commit 427b638
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 87 deletions.
130 changes: 56 additions & 74 deletions ExampleApp/Resources/Main.storyboard

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions ExampleApp/Views/PaymentSettingTableViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ class PaymentSettingTableViewController: UITableViewController {
@IBOutlet private var paynowPaymentCell: UITableViewCell!
@IBOutlet private var truemoneyPaymentCell: UITableViewCell!
@IBOutlet private var truemoneyJumpAppPaymentCell: UITableViewCell!
@IBOutlet private var pointsCitiCell: UITableViewCell!
@IBOutlet private var fpxCell: UITableViewCell!
@IBOutlet private var rabbitLinepayCell: UITableViewCell!
@IBOutlet private var OCBCDigitalPaymentCell: UITableViewCell!
Expand Down Expand Up @@ -347,8 +346,6 @@ extension PaymentSettingTableViewController {
return .trueMoneyWallet
case truemoneyJumpAppPaymentCell:
return .trueMoneyJumpApp
case pointsCitiCell:
return .pointsCiti
case fpxCell:
return .fpx
case rabbitLinepayCell:
Expand Down Expand Up @@ -443,8 +440,6 @@ extension PaymentSettingTableViewController {
return truemoneyPaymentCell
case .trueMoneyJumpApp:
return truemoneyJumpAppPaymentCell
case .pointsCiti:
return pointsCitiCell
case .fpx:
return fpxCell
case .rabbitLinepay:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ extension SourceType {
.installmentUOB,
.promptPay,
.trueMoneyWallet,
.pointsCiti,
.shopeePayJumpApp
]

Expand Down
2 changes: 0 additions & 2 deletions OmiseSDK/Sources/OmiseAPI/SourceType/SourceType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ public enum SourceType: String, Codable, CaseIterable {
case payNow = "paynow"
/// PayPay https://docs.opn.ooo/paypay
case payPay = "paypay"
/// Pay with Points https://docs.opn.ooo/pay-with-points
case pointsCiti = "points_citi"
/// PromptPay https://docs.opn.ooo/promptpay
case promptPay = "promptpay"
/// Rabbit LINE Pay https://docs.opn.ooo/rabbit-linepay
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ extension SourceType: ViewPresentable {
return "PayNow"
case .payPay:
return "PayPay"
case .pointsCiti:
return "Pay with Citi Rewards Points"
case .promptPay:
return "PromptPay"
case .rabbitLinepay:
Expand Down Expand Up @@ -185,8 +183,6 @@ extension SourceType: ViewPresentable {
return "PayNow"
case .payPay:
return "PayPay"
case .pointsCiti:
return "CitiBank"
case .promptPay:
return "PromptPay"
case .rabbitLinepay:
Expand Down
1 change: 0 additions & 1 deletion OmiseSDKTests/PaymentChooserViewControllerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class PaymentChooserViewControllerTests: XCTestCase {
.touchNGoAlipayPlus,
.trueMoneyWallet,
.trueMoneyJumpApp,
.pointsCiti,
.fpx,
.mobileBankingKBank,
.rabbitLinepay,
Expand Down

0 comments on commit 427b638

Please sign in to comment.