Skip to content

Commit

Permalink
Merge pull request #568 from veritrans/release/release-1.22.0
Browse files Browse the repository at this point in the history
Release/release 1.22.0
  • Loading branch information
uziwuzzy authored Jul 28, 2022
2 parents f7f5902 + c35f822 commit c9718f2
Show file tree
Hide file tree
Showing 23 changed files with 760 additions and 245 deletions.
2 changes: 1 addition & 1 deletion MidtransCoreKit.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "MidtransCoreKit"
s.version = "1.20.2"
s.version = "1.22.0"
s.summary = "Veritrans mobile SDK beta version"
s.homepage = "https://veritrans.co.id/"
s.license = 'MIT'
Expand Down
52 changes: 52 additions & 0 deletions MidtransCoreKit/MidtransCoreKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,24 @@
DD64CE54253DB3CC0069F4B4 /* MidtransPaymentQRIS.m in Sources */ = {isa = PBXBuildFile; fileRef = DD64CE52253DB3CC0069F4B4 /* MidtransPaymentQRIS.m */; };
DD9D14CB2537FC7A0030427D /* MidtransPaymentShopeePay.h in Headers */ = {isa = PBXBuildFile; fileRef = DDBC2FB72537C0C3002FCD06 /* MidtransPaymentShopeePay.h */; settings = {ATTRIBUTES = (Public, ); }; };
DD9D14CC2537FCE40030427D /* MidtransPaymentShopeePay.m in Sources */ = {isa = PBXBuildFile; fileRef = DDBC2FBA2537C0EB002FCD06 /* MidtransPaymentShopeePay.m */; };
DDA6BF7427FA9A8A00296359 /* MIDExbinResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = DDA6BF7227FA9A8A00296359 /* MIDExbinResponse.h */; settings = {ATTRIBUTES = (Public, ); }; };
DDA6BF7527FA9A8A00296359 /* MIDExbinResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = DDA6BF7327FA9A8A00296359 /* MIDExbinResponse.m */; };
DDA6BF7627FA9A8F00296359 /* MIDExbinResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = DDA6BF7227FA9A8A00296359 /* MIDExbinResponse.h */; settings = {ATTRIBUTES = (Public, ); }; };
DDA6BF7927FA9B0500296359 /* MIDExbinData.h in Headers */ = {isa = PBXBuildFile; fileRef = DDA6BF7727FA9B0500296359 /* MIDExbinData.h */; settings = {ATTRIBUTES = (Public, ); }; };
DDA6BF7A27FA9B0500296359 /* MIDExbinData.m in Sources */ = {isa = PBXBuildFile; fileRef = DDA6BF7827FA9B0500296359 /* MIDExbinData.m */; };
DDA6BF7B27FA9B0A00296359 /* MIDExbinData.h in Headers */ = {isa = PBXBuildFile; fileRef = DDA6BF7727FA9B0500296359 /* MIDExbinData.h */; settings = {ATTRIBUTES = (Public, ); }; };
DDA6BF7C27FAA48100296359 /* MIDExbinResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = DDA6BF7327FA9A8A00296359 /* MIDExbinResponse.m */; };
DDA6BF7D27FAA48400296359 /* MIDExbinData.m in Sources */ = {isa = PBXBuildFile; fileRef = DDA6BF7827FA9B0500296359 /* MIDExbinData.m */; };
DDB30C342642359D00BC1235 /* MidtransPaymentUOB.h in Headers */ = {isa = PBXBuildFile; fileRef = DDB30C332642359D00BC1235 /* MidtransPaymentUOB.h */; settings = {ATTRIBUTES = (Public, ); }; };
DDB30C39264235BC00BC1235 /* MidtransPaymentUOB.m in Sources */ = {isa = PBXBuildFile; fileRef = DDB30C38264235BC00BC1235 /* MidtransPaymentUOB.m */; };
DDB30C472642375300BC1235 /* MidtransPaymentUOB.h in Headers */ = {isa = PBXBuildFile; fileRef = DDB30C332642359D00BC1235 /* MidtransPaymentUOB.h */; settings = {ATTRIBUTES = (Public, ); }; };
DDB30C4B2642375600BC1235 /* MidtransPaymentUOB.m in Sources */ = {isa = PBXBuildFile; fileRef = DDB30C38264235BC00BC1235 /* MidtransPaymentUOB.m */; };
DDBC2FB82537C0C3002FCD06 /* MidtransPaymentShopeePay.h in Headers */ = {isa = PBXBuildFile; fileRef = DDBC2FB72537C0C3002FCD06 /* MidtransPaymentShopeePay.h */; settings = {ATTRIBUTES = (Public, ); }; };
DDBC2FBB2537C0EB002FCD06 /* MidtransPaymentShopeePay.m in Sources */ = {isa = PBXBuildFile; fileRef = DDBC2FBA2537C0EB002FCD06 /* MidtransPaymentShopeePay.m */; };
DDBCB0EF27FDC3ED00D06C55 /* MidtransBinDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = DDBCB0ED27FDC3ED00D06C55 /* MidtransBinDetails.h */; settings = {ATTRIBUTES = (Public, ); }; };
DDBCB0F027FDC3ED00D06C55 /* MidtransBinDetails.h in Headers */ = {isa = PBXBuildFile; fileRef = DDBCB0ED27FDC3ED00D06C55 /* MidtransBinDetails.h */; settings = {ATTRIBUTES = (Public, ); }; };
DDBCB0F127FDC3ED00D06C55 /* MidtransBinDetails.m in Sources */ = {isa = PBXBuildFile; fileRef = DDBCB0EE27FDC3ED00D06C55 /* MidtransBinDetails.m */; };
DDBCB0F227FDC3ED00D06C55 /* MidtransBinDetails.m in Sources */ = {isa = PBXBuildFile; fileRef = DDBCB0EE27FDC3ED00D06C55 /* MidtransBinDetails.m */; };
E546D1F9217EFF4C006D4650 /* MidtransPaymentAkulaku.h in Headers */ = {isa = PBXBuildFile; fileRef = E546D1F7217EFF4B006D4650 /* MidtransPaymentAkulaku.h */; settings = {ATTRIBUTES = (Public, ); }; };
E546D1FA217EFF4C006D4650 /* MidtransPaymentAkulaku.h in Headers */ = {isa = PBXBuildFile; fileRef = E546D1F7217EFF4B006D4650 /* MidtransPaymentAkulaku.h */; settings = {ATTRIBUTES = (Public, ); }; };
E546D1FB217EFF4C006D4650 /* MidtransPaymentAkulaku.m in Sources */ = {isa = PBXBuildFile; fileRef = E546D1F8217EFF4B006D4650 /* MidtransPaymentAkulaku.m */; };
Expand Down Expand Up @@ -462,10 +474,16 @@
DD1F2A4F218AD29100D73039 /* MIDUrlHandler.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MIDUrlHandler.m; sourceTree = "<group>"; };
DD64CE4F253DB2FF0069F4B4 /* MidtransPaymentQRIS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MidtransPaymentQRIS.h; sourceTree = "<group>"; };
DD64CE52253DB3CC0069F4B4 /* MidtransPaymentQRIS.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MidtransPaymentQRIS.m; sourceTree = "<group>"; };
DDA6BF7227FA9A8A00296359 /* MIDExbinResponse.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MIDExbinResponse.h; sourceTree = "<group>"; };
DDA6BF7327FA9A8A00296359 /* MIDExbinResponse.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MIDExbinResponse.m; sourceTree = "<group>"; };
DDA6BF7727FA9B0500296359 /* MIDExbinData.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MIDExbinData.h; sourceTree = "<group>"; };
DDA6BF7827FA9B0500296359 /* MIDExbinData.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MIDExbinData.m; sourceTree = "<group>"; };
DDB30C332642359D00BC1235 /* MidtransPaymentUOB.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MidtransPaymentUOB.h; sourceTree = "<group>"; };
DDB30C38264235BC00BC1235 /* MidtransPaymentUOB.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MidtransPaymentUOB.m; sourceTree = "<group>"; };
DDBC2FB72537C0C3002FCD06 /* MidtransPaymentShopeePay.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MidtransPaymentShopeePay.h; sourceTree = "<group>"; };
DDBC2FBA2537C0EB002FCD06 /* MidtransPaymentShopeePay.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MidtransPaymentShopeePay.m; sourceTree = "<group>"; };
DDBCB0ED27FDC3ED00D06C55 /* MidtransBinDetails.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MidtransBinDetails.h; sourceTree = "<group>"; };
DDBCB0EE27FDC3ED00D06C55 /* MidtransBinDetails.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MidtransBinDetails.m; sourceTree = "<group>"; };
E50D85D21D0EC64E00F26D2E /* MidtransPaymentMandiriECash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MidtransPaymentMandiriECash.h; sourceTree = "<group>"; };
E50D85D31D0EC64E00F26D2E /* MidtransPaymentMandiriECash.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MidtransPaymentMandiriECash.m; sourceTree = "<group>"; };
E50D85E31D0ECB7000F26D2E /* MidtransPaymentBCAKlikpay.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MidtransPaymentBCAKlikpay.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -663,6 +681,8 @@
009A7E671DBF06E600049358 /* MidtransPaymentRequestV2TransactionDetails.m */,
E511CF4A1E48612300926FC7 /* MidtransObtainedPromo.h */,
E511CF4B1E48612300926FC7 /* MidtransObtainedPromo.m */,
DDBCB0ED27FDC3ED00D06C55 /* MidtransBinDetails.h */,
DDBCB0EE27FDC3ED00D06C55 /* MidtransBinDetails.m */,
);
name = PaymentRequestV2;
sourceTree = "<group>";
Expand Down Expand Up @@ -853,6 +873,7 @@
3014E0C31C7AD6F9003EB203 /* Model */ = {
isa = PBXGroup;
children = (
DDA6BF6C27FA99FF00296359 /* Core Api */,
006DB7B51D3DE279001C9A71 /* Snap */,
00C95DB31D196589001EC6B7 /* VA */,
00F61B0A1D145D0E00C93DA0 /* PaymentList */,
Expand Down Expand Up @@ -941,6 +962,25 @@
name = Frameworks;
sourceTree = "<group>";
};
DDA6BF6C27FA99FF00296359 /* Core Api */ = {
isa = PBXGroup;
children = (
DDA6BF6D27FA9A0700296359 /* Exbin */,
);
path = "Core Api";
sourceTree = "<group>";
};
DDA6BF6D27FA9A0700296359 /* Exbin */ = {
isa = PBXGroup;
children = (
DDA6BF7227FA9A8A00296359 /* MIDExbinResponse.h */,
DDA6BF7327FA9A8A00296359 /* MIDExbinResponse.m */,
DDA6BF7727FA9B0500296359 /* MIDExbinData.h */,
DDA6BF7827FA9B0500296359 /* MIDExbinData.m */,
);
path = Exbin;
sourceTree = "<group>";
};
E5CDEC8B1E9340CA0032DC3B /* MidtransCoreKit */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -992,6 +1032,7 @@
E57120561E937A790064F515 /* Midtrans3DSController.h in Headers */,
0C313E171FCD2BEA0074366F /* MIDGOPAYDataModels.h in Headers */,
E57120571E937A790064F515 /* MidtransPaymentWebController.h in Headers */,
DDBCB0F027FDC3ED00D06C55 /* MidtransBinDetails.h in Headers */,
E57120581E937A790064F515 /* SNPPointDataModels.h in Headers */,
E57120591E937A790064F515 /* SNPPointResponse.h in Headers */,
E571205A1E937A790064F515 /* MidtransBinDataModels.h in Headers */,
Expand Down Expand Up @@ -1043,10 +1084,12 @@
E57120811E937A790064F515 /* MidtransPaymentBankTransfer.h in Headers */,
E57120821E937A790064F515 /* MidtransPaymentCIMBClicks.h in Headers */,
E546D1FA217EFF4C006D4650 /* MidtransPaymentAkulaku.h in Headers */,
DDA6BF7627FA9A8F00296359 /* MIDExbinResponse.h in Headers */,
E57120831E937A790064F515 /* MidtransTransaction.h in Headers */,
E57120841E937A790064F515 /* MidtransTransactionDetails.h in Headers */,
0C1B35D61ED6B3A7003F6806 /* SNPFreeTextDataModels.h in Headers */,
E57120861E937A790064F515 /* MidtransTokenizeRequest.h in Headers */,
DDA6BF7B27FA9B0A00296359 /* MIDExbinData.h in Headers */,
E57120871E937A790064F515 /* MidtransPaymentKlikBCA.h in Headers */,
E57120881E937A790064F515 /* MidtransPaymentTelkomselCash.h in Headers */,
E57120891E937A790064F515 /* MidtransPaymentXLTunai.h in Headers */,
Expand Down Expand Up @@ -1091,6 +1134,7 @@
E55F63591E934C4700C012C8 /* MidtransConfig.h in Headers */,
0C313E141FCD2BE90074366F /* MIDGOPAYDataModels.h in Headers */,
E55F635A1E934C4700C012C8 /* MidtransPrivateConfig.h in Headers */,
DDBCB0EF27FDC3ED00D06C55 /* MidtransBinDetails.h in Headers */,
E55F635B1E934C4700C012C8 /* MidtransCreditCardConfig.h in Headers */,
E55F635C1E934C4700C012C8 /* MidtransHelper.h in Headers */,
E55F635D1E934C4700C012C8 /* MidtransNetworking.h in Headers */,
Expand Down Expand Up @@ -1142,10 +1186,12 @@
E55F638C1E934C4800C012C8 /* MidtransPaymentBankTransfer.h in Headers */,
E55F638D1E934C4800C012C8 /* MidtransPaymentCIMBClicks.h in Headers */,
E546D1F9217EFF4C006D4650 /* MidtransPaymentAkulaku.h in Headers */,
DDA6BF7427FA9A8A00296359 /* MIDExbinResponse.h in Headers */,
E55F638E1E934C4800C012C8 /* MidtransTransaction.h in Headers */,
E55F638F1E934C4800C012C8 /* MidtransTransactionDetails.h in Headers */,
0C1B35CD1ED6B106003F6806 /* SNPFreeTextDataModels.h in Headers */,
E55F63911E934C4800C012C8 /* MidtransTokenizeRequest.h in Headers */,
DDA6BF7927FA9B0500296359 /* MIDExbinData.h in Headers */,
E55F63921E934C4800C012C8 /* MidtransPaymentKlikBCA.h in Headers */,
E55F63931E934C4800C012C8 /* MidtransPaymentTelkomselCash.h in Headers */,
E55F63941E934C4800C012C8 /* MidtransPaymentXLTunai.h in Headers */,
Expand Down Expand Up @@ -1334,9 +1380,11 @@
E571201D1E937A2C0064F515 /* MidtransPaymentRequestV2ItemDetails.m in Sources */,
DD64CE54253DB3CC0069F4B4 /* MidtransPaymentQRIS.m in Sources */,
ECB0213D221A6FC90037C0E1 /* MidtransPaymentAlfa.m in Sources */,
DDA6BF7D27FAA48400296359 /* MIDExbinData.m in Sources */,
E571201E1E937A2C0064F515 /* MidtransPaymentRequestV2Merchant.m in Sources */,
E571201F1E937A2C0064F515 /* MidtransPaymentRequestV2Preference.m in Sources */,
E57120201E937A2C0064F515 /* MidtransPaymentRequestV2Response.m in Sources */,
DDA6BF7C27FAA48100296359 /* MIDExbinResponse.m in Sources */,
E546D1FC217EFF4C006D4650 /* MidtransPaymentAkulaku.m in Sources */,
E57120211E937A2C0064F515 /* MidtransPaymentRequestV2ShippingAddress.m in Sources */,
E57120221E937A2C0064F515 /* MidtransPaymentRequestV2TransactionDetails.m in Sources */,
Expand All @@ -1348,6 +1396,7 @@
E57120281E937A2C0064F515 /* MidtransAddress.m in Sources */,
E57120291E937A2C0064F515 /* MidtransCustomerDetails.m in Sources */,
0C93243A1F7B76F500D9A390 /* MidtransPaymentDanamonOnline.m in Sources */,
DDBCB0F227FDC3ED00D06C55 /* MidtransBinDetails.m in Sources */,
E571202A1E937A2C0064F515 /* MidtransCreditCard.m in Sources */,
E571202B1E937A2C0064F515 /* MidtransMaskedCreditCard.m in Sources */,
E571202C1E937A2C0064F515 /* MidtransTransactionResult.m in Sources */,
Expand Down Expand Up @@ -1384,6 +1433,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
DDBCB0F127FDC3ED00D06C55 /* MidtransBinDetails.m in Sources */,
E55F639B1E934C6400C012C8 /* NSString+MidtransValidation.m in Sources */,
E55F639C1E934C6400C012C8 /* SNPUITrackingManager.m in Sources */,
E55F639D1E934C6400C012C8 /* MidtransImageManager.m in Sources */,
Expand Down Expand Up @@ -1449,9 +1499,11 @@
E55F63D11E934C6400C012C8 /* MidtransTransactionDetails.m in Sources */,
E55F63D21E934C6400C012C8 /* MidtransTokenizeRequest.m in Sources */,
ECB0213C221A6FC90037C0E1 /* MidtransPaymentAlfa.m in Sources */,
DDA6BF7A27FA9B0500296359 /* MIDExbinData.m in Sources */,
0C1B35D31ED6B106003F6806 /* SNPFreeTextPayment.m in Sources */,
E55F63D31E934C6400C012C8 /* MidtransPaymentKlikBCA.m in Sources */,
E55F63D41E934C6400C012C8 /* MidtransPaymentTelkomselCash.m in Sources */,
DDA6BF7527FA9A8A00296359 /* MIDExbinResponse.m in Sources */,
E55F63D51E934C6400C012C8 /* MidtransPaymentXLTunai.m in Sources */,
E55F63D61E934C6400C012C8 /* MidtransPaymentIndosatDompetku.m in Sources */,
E55F63D71E934C6400C012C8 /* MidtransPaymentKiosOn.m in Sources */,
Expand Down
31 changes: 31 additions & 0 deletions MidtransCoreKit/MidtransCoreKit/Core Api/Exbin/MIDExbinData.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
//
// MIDExbinData.h
// MidtransCoreKit
//
// Created by Muhammad Fauzi Masykur on 04/04/22.
// Copyright © 2022 Midtrans. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface MIDExbinData : NSObject <NSCoding, NSCopying>

@property (nonatomic, strong) NSString *countryName;
@property (nonatomic, strong) NSString *countryCode;
@property (nonatomic, strong) NSString *channel;
@property (nonatomic, strong) NSString *brand;
@property (nonatomic, strong) NSString *binType;
@property (nonatomic, strong) NSString *binClass;
@property (nonatomic, strong) NSString *bin;
@property (nonatomic, strong) NSString *bankCode;
@property (nonatomic, strong) NSString *bank;

+ (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
- (instancetype)initWithDictionary:(NSDictionary *)dict;
- (NSDictionary *)dictionaryRepresentation;

@end

NS_ASSUME_NONNULL_END
Loading

0 comments on commit c9718f2

Please sign in to comment.