Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] Remove Giropay References post Deprecation #3798

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#import "AUBECSDebitExampleViewController.h"
#import "BancontactExampleViewController.h"
#import "FPXExampleViewController.h"
#import "GiropayExampleViewController.h"
#import "iDEALExampleViewController.h"
#import "Przelewy24ExampleViewController.h"
#import "OXXOExampleViewController.h"
Expand Down Expand Up @@ -84,69 +83,66 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
cell.textLabel.text = @"AU BECS Debit";
break;
case 10:
cell.textLabel.text = @"giropay";
break;
case 11:
cell.textLabel.text = @"Przelewy24";
break;
case 12:
case 11:
cell.textLabel.text = @"Bancontact";
break;
case 13:
case 12:
cell.textLabel.text = @"EPS";
break;
case 14:
case 13:
cell.textLabel.text = @"Sofort (PaymentMethods)";
break;
case 15:
case 14:
cell.textLabel.text = @"GrabPay";
break;
case 16:
case 15:
cell.textLabel.text = @"OXXO";
break;
case 17:
case 16:
cell.textLabel.text = @"Afterpay";
break;
case 18:
case 17:
cell.textLabel.text = @"Boleto";
break;
case 19:
case 18:
cell.textLabel.text = @"Klarna (PaymentMethods)";
break;
case 20:
case 19:
cell.textLabel.text = @"Affirm (PaymentMethods)";
break;
case 21:
case 20:
cell.textLabel.text = @"US Bank Account";
break;
case 22:
case 21:
cell.textLabel.text = @"US Bank Account w/ FinancialConnections";
break;
case 23:
case 22:
cell.textLabel.text = @"Cash App Pay";
break;
case 24:
case 23:
cell.textLabel.text = @"BLIK";
break;
case 25:
case 24:
cell.textLabel.text = @"PayPal";
break;
case 26:
case 25:
cell.textLabel.text = @"RevolutPay";
break;
case 27:
case 26:
cell.textLabel.text = @"Swish";
break;
case 28:
case 27:
cell.textLabel.text = @"Amazon Pay";
break;
case 29:
case 28:
cell.textLabel.text = @"Alma";
break;
case 30:
case 29:
cell.textLabel.text = @"Multibanco";
break;
case 31:
case 30:
cell.textLabel.text = @"MobilePay";
break;
}
Expand Down Expand Up @@ -224,132 +220,126 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
break;
}
case 10: {
GiropayExampleViewController *exampleVC = [GiropayExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 11: {
Przelewy24ExampleViewController *exampleVC = [Przelewy24ExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 12: {
case 11: {
BancontactExampleViewController *exampleVC = [BancontactExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 13: {
case 12: {
EPSExampleViewController *exampleVC = [EPSExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 14: {
case 13: {
SofortExampleViewController *exampleVC = [SofortExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 15: {
case 14: {
GrabPayExampleViewController *exampleVC = [GrabPayExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 16: {
case 15: {
OXXOExampleViewController *exampleVC = [OXXOExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 17: {
case 16: {
AfterpayClearpayExampleViewController *exampleVC = [AfterpayClearpayExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 18: {
case 17: {
BoletoExampleViewController *exampleVC = [BoletoExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 19: {
case 18: {
KlarnaExampleViewController *exampleVC = [KlarnaExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 20: {
case 19: {
AffirmExampleViewController *exampleVC = [AffirmExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 21: {
case 20: {
USBankAccountExampleViewController *exampleVC = [USBankAccountExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 22: {
case 21: {
USBankAccountFinancialConnectionsExampleViewController *exampleVC = [USBankAccountFinancialConnectionsExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 23: {
case 22: {
CashAppExampleViewController *exampleVC = [CashAppExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 24: {
case 23: {
BlikExampleViewController *exampleVC = [BlikExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 25: {
case 24: {
PayPalExampleViewController *exampleVC = [PayPalExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 26: {
case 25: {
RevolutPayExampleViewController *exampleVC = [RevolutPayExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 27: {
case 26: {
SwishExampleViewController *exampleVC = [SwishExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 28: {
case 27: {
AmazonPayExampleViewController *exampleVC = [AmazonPayExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 29: {
case 28: {
AlmaExampleViewController *exampleVC = [AlmaExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 30: {
case 29: {
MultibancoExampleViewController *exampleVC = [MultibancoExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
break;
}
case 31: {
case 30: {
MobilePayExampleViewController *exampleVC = [MobilePayExampleViewController new];
exampleVC.delegate = self;
viewController = exampleVC;
Expand Down

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion Stripe/StripeiOS/Source/STPPaymentMethod+BasicUI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ extension STPPaymentMethod: STPPaymentOption {
return true
case .alipay, // Careful! Revisit this if/when we support recurring Alipay
.AUBECSDebit,
.bacsDebit, .SEPADebit, .iDEAL, .FPX, .cardPresent, .giropay, .EPS, .payPal,
.bacsDebit, .SEPADebit, .iDEAL, .FPX, .cardPresent, .EPS, .payPal,
.przelewy24, .bancontact,
.OXXO, .sofort, .grabPay, .netBanking, .UPI, .afterpayClearpay, .blik,
.weChatPay, .boleto, .klarna, .affirm, .cashApp, .paynow, .zip, .revolutPay, .amazonPay,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ extension STPPaymentMethodParams: STPPaymentOption {
switch type {
case .card, .link, .USBankAccount, .instantDebits:
return true
case .alipay, .AUBECSDebit, .bacsDebit, .SEPADebit, .iDEAL, .FPX, .cardPresent, .giropay,
case .alipay, .AUBECSDebit, .bacsDebit, .SEPADebit, .iDEAL, .FPX, .cardPresent,
.grabPay, .EPS, .przelewy24, .bancontact, .netBanking, .OXXO, .payPal, .sofort, .UPI,
.afterpayClearpay, .blik, .weChatPay, .boleto, .klarna, .affirm, .cashApp, .paynow,
.zip, .revolutPay, .amazonPay, .alma, .mobilePay, .konbini, .promptPay, .swish, .twint, .multibanco,
Expand Down
2 changes: 0 additions & 2 deletions Stripe/StripeiOS/Source/STPSource+BasicUI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ extension STPSource: STPPaymentOption {
} else {
return STPCard.string(from: .unknown)
}
case .giropay:
return STPPaymentMethodType.giropay.displayName
case .iDEAL:
return STPPaymentMethodType.iDEAL.displayName
case .SEPADebit:
Expand Down
Loading
Loading