Skip to content

Commit

Permalink
Merge pull request #40 from iamport/feat/add-naverpay-parameters
Browse files Browse the repository at this point in the history
누락된 네이버페이 파라미터들 추가
  • Loading branch information
anymate98 committed Jan 24, 2024
2 parents f916eae + 133390f commit e937472
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Example/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ target 'iamport-ios_Example' do
# cocoapods 사용시 enable
# cocoapods 사용시 enable
# pod 'iamport-ios', :path => '../' # local
# pod 'iamport-ios', '~> 1.4.0' # remote
# pod 'iamport-ios', '~> 1.4.1' # remote
# cocoapods 사용시 enable
# cocoapods 사용시 enable

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ it, simply add the following line to your Podfile:

- cocoapods 이용시 (RxSwift 5.x 사용)
```ruby
pod 'iamport-ios', '~> 1.4.0'
pod 'iamport-ios', '~> 1.4.1'
```


Expand Down
6 changes: 5 additions & 1 deletion Sources/iamport-ios/Classes/Data/IamportPayment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ public class IamportPayment: Codable, Then {
public var naverCultureBenefit: Bool?
public var naverProductCode: String?
public var naverActionType: String?
public var naverPurchaserName: String?
public var naverPurchaserBirthday: String?
public var naverChainId: String?
public var naverMerchantUserKey: String?

public var cultureBenefit: Bool?
public var naverInterface: NaverInterface?
Expand All @@ -67,7 +71,7 @@ public class IamportPayment: Codable, Then {
}

private enum CodingKeys: String, CodingKey {
case pg, pay_method, escrow, merchant_uid, customer_uid, name, amount, tax_free, currency, language, buyer_name, buyer_tel, buyer_email, buyer_addr, buyer_postcode, notice_url, display, digital, vbank_due, m_redirect_url, app_scheme, biz_num, popup, niceMobileV2, naverPopupMode, naverUseCfm, naverProducts, naverCultureBenefit, naverProductCode, naverActionType, cultureBenefit, naverInterface, card, confirm_url, period
case pg, pay_method, escrow, merchant_uid, customer_uid, name, amount, tax_free, currency, language, buyer_name, buyer_tel, buyer_email, buyer_addr, buyer_postcode, notice_url, display, digital, vbank_due, m_redirect_url, app_scheme, biz_num, popup, niceMobileV2, naverPopupMode, naverUseCfm, naverProducts, naverCultureBenefit, naverProductCode, naverActionType, naverPurchaserName, naverPurchaserBirthday, naverChainId, naverMerchantUserKey, cultureBenefit, naverInterface, card, confirm_url, period
}
}

Expand Down
2 changes: 1 addition & 1 deletion iamport-ios.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'iamport-ios'
s.version = '1.4.0'
s.version = '1.4.1'
s.summary = 'iamport-ios will help develop for your iOS App payments'

# This description is used to generate tags and improve search results.
Expand Down

0 comments on commit e937472

Please sign in to comment.