Skip to content

Commit

Permalink
iOS: Release 3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Serhii Libin committed Feb 6, 2024
1 parent acca3b1 commit e7f2ef1
Show file tree
Hide file tree
Showing 131 changed files with 725 additions and 146 deletions.
2 changes: 1 addition & 1 deletion Datatrans.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "Datatrans"
spec.version = "3.4.0"
spec.version = "3.5.0"
spec.summary = "Datatrans iOS SDK - Accept payments on your iOS apps"
spec.description = <<-DESC
Accept payments on your iOS apps: Our mobile SDKs support your entire payment and
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,250 @@
{
"cards": [
{
"type": "VIS",
"numberLengths": [16],
"numberSpacing": [4, 8, 12],
"numberRanges": [
[4]
]
},
{
"type": "ECA",
"numberLengths": [16],
"numberSpacing": [4, 8, 12],
"numberRanges": [
[5],
[222100, 272099]
]
},
{
"type": "AMX",
"numberLengths": [15],
"numberSpacing": [4, 10],
"numberRanges": [
[34],
[37]
]
},
{
"type": "DIN",
"numberLengths": [14],
"numberSpacing": [4, 10],
"numberRanges": [
[36]
]
},
{
"type": "DIN",
"numberLengths": [16],
"numberSpacing": [4, 8, 12],
"numberRanges": [
[65085200, 65085205],
[65085300, 65085304],
[65085400, 65085401],
[65085500, 65085501],
[65085600, 65085604],
[65085700, 65085705]
]
},
{
"type": "DIS",
"numberLengths": [16],
"numberSpacing": [4, 8, 12],
"numberRanges": [
[65],
[6011],
[644000, 649999]
]
},
{
"type": "JCB",
"numberLengths": [16],
"numberSpacing": [4, 8, 12],
"numberRanges": [
[3528, 3589]
]
},
{
"type": "UAP",
"numberLengths": [15],
"numberSpacing": [4, 9],
"numberRanges": [
[1]
]
},
{
"type": "SCX",
"numberLengths": [16],
"numberSpacing": [4, 8, 12],
"numberRanges": [
[435378],
[435379],
[54688725]
]
},
{
"type": "DNK",
"numberLengths": [16],
"numberSpacing": [4, 8, 12],
"numberRanges": [
[4571],
[5019]
]
},
{
"type": "MAU",
"numberLengths": [16, 17, 18, 19],
"numberRanges": [
[50],
[56],
[57],
[58],
[59],
[600000, 601099],
[601110, 601119],
[601150, 601173],
[601175, 601176],
[601180, 601185],
[601200, 609999],
[61],
[62],
[63],
[640, 643],
[66],
[67],
[68],
[69]
]
},
{
"type": "CUP",
"numberLengths": [14, 15, 16, 17, 18, 19],
"numberRanges": [
[601382],
[601428],
[602907],
[602969],
[603265],
[603367],
[603601],
[603694],
[603708],
[604823],
[606045],
[606052],
[620009, 620278],
[620342],
[620411, 620427],
[620513, 620562],
[620812, 620826],
[620938],
[621001, 621132],
[621200, 621840],
[621977, 622021],
[622100, 623748],
[624, 627111],
[627192, 627264],
[627328, 627401],
[627471, 627533],
[627629, 627681],
[627805, 628115],
[628179, 628899],
[629102, 629295],
[629433, 629436],
[629846, 629886],
[629949, 629975],
[630042],
[632062],
[636093, 636095],
[636189],
[639339],
[639578],
[6858],
[690750, 690759],
[81, 817199],
[900105],
[900205],
[900300, 900309],
[905920, 905929],
[9111],
[940],
[955],
[966666],
[968807, 968809],
[984300, 984303],
[990027],
[998800, 998802]
]
},
{
"type": "ELO",
"numberLengths": [16],
"numberSpacing": [4, 8, 12],
"numberRanges": [
[431274],
[506717,506718],
[506733],
[506739],
[506741,506743],
[506774],
[506778],
[509004,509009],
[509013],
[509020,509029],
[509031],
[509033],
[509035],
[509036,509053],
[509064],
[509077,509080],
[636297],
[401178,401179],
[438935],
[457393],
[457631,457632],
[504175],
[506720,506721],
[506724,506732],
[506740],
[506744,506748],
[506753],
[506775],
[506777],
[509000,509002],
[509066,509069],
[509072],
[509074],
[509076],
[509081,509083],
[509085,509810],
[636368],
[650901,650920],
[650485,650538],
[650541,650598],
[650700,650718],
[650720,650727],
[651652,651679],
[655000,655019],
[655021,655058],
[650921,650978]
]
},
{
"type": "HPC",
"numberLengths": [16],
"numberSpacing": [4, 8, 12],
"numberRanges": [
[606282],
[384100],
[384140],
[384160],
[637095],
[637609],
[637612],
[637568],
[637599]
]
}
]
}
Binary file modified Datatrans.xcframework/ios-arm64/Datatrans.framework/Datatrans
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ extern NSString* const DTPaymentMethodKlarna;
extern NSString* const DTPaymentMethodDankort;
extern NSString* const DTPaymentMethodSwish;
extern NSString* const DTPaymentMethodVipps;
extern NSString* const DTPaymentMethodMobilePay;
extern NSString* const DTPaymentMethodMaestro;
extern NSString* const DTPaymentMethodChinaUnionPay;
extern NSString* const DTPaymentMethodHalfFarePlus;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#import <Foundation/Foundation.h>

@class DTPaymentOptions;
@class DTBinRange;

typedef enum {
DTPaymentMethodCreditCard = 1 << 0,
Expand Down Expand Up @@ -39,9 +38,6 @@ typedef enum {
@property (nonatomic, readonly) Class _Nullable savedPaymentMethodClass;

@property (nonatomic, readonly) NSRange creditCardVerificationLengthRange;
@property (nonatomic, readonly) NSRange creditCardNumberLengthRange;
@property (nonatomic, readonly) NSArray<DTBinRange *>* _Nullable creditCardNumberRanges;
@property (nonatomic, readonly) NSArray<NSNumber *>* _Nullable creditCardNumberSpaces;

- (void)updateWithOptions:(nonnull DTPaymentOptions *)options;
- (nullable NSString *)validateOptions:(nonnull DTPaymentOptions *)options isAliasPayment:(BOOL)isAliasPayment hasKlarnaSDK:(BOOL)hasKlarnaSDK;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -688,12 +688,14 @@ typedef SWIFT_ENUM_NAMED(NSInteger, DTPaymentMethodType, "PaymentMethodType", op
DTPaymentMethodTypeSwish = 27,
/// Vipps payment method
DTPaymentMethodTypeVipps = 28,
/// MobilePay payment method
DTPaymentMethodTypeMobilePay = 29,
/// Maestro payment method
DTPaymentMethodTypeMaestro = 29,
DTPaymentMethodTypeMaestro = 30,
/// China Union Pay payment method
DTPaymentMethodTypeChinaUnionPay = 30,
DTPaymentMethodTypeChinaUnionPay = 31,
/// SBB Half Fare Travelcard PLUS payment method
DTPaymentMethodTypeHalfFarePlus = 31,
DTPaymentMethodTypeHalfFarePlus = 32,
};


Expand Down
Binary file modified Datatrans.xcframework/ios-arm64/Datatrans.framework/Info.plist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ import _Concurrency
case Dankort
case Swish
case Vipps
case MobilePay
case Maestro
case ChinaUnionPay
case HalfFarePlus
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit e7f2ef1

Please sign in to comment.