Skip to content

Commit

Permalink
Merge branch 'master' into haso-bnpl
Browse files Browse the repository at this point in the history
  • Loading branch information
lemiorhan authored Feb 2, 2024
2 parents c48c6c2 + d17bd63 commit 4589163
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion samples/payment/BnplPaymentOffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const request = {
id: "100",
name: "Test Elektronik 1",
brandName: "Samsung",
type: Craftgate.Model.BnplCartItemType.MobilePhoneOver5000Try,
type: Craftgate.Model.BnplCartItemType.MobilePhonePriceAboveRegulationLimit,
unitPrice: 4000,
quantity: 1,
}
Expand Down
2 changes: 1 addition & 1 deletion samples/payment/InitBnplPayment.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const request = {
id: "100",
name: "Test Elektronik 1",
brandName:"Samsung",
type: Craftgate.Model.BnplCartItemType.MobilePhoneOver5000Try,
type: Craftgate.Model.BnplCartItemType.MobilePhonePriceAboveRegulationLimit,
unitPrice: 4000,
quantity: 1,
}
Expand Down
4 changes: 2 additions & 2 deletions src/model/BnplCartItemType.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
enum BnplCartItemType {
MobilePhoneOver5000Try = 'MOBILE_PHONE_OVER_5000_TRY',
MobilePhoneBelow5000Try = 'MOBILE_PHONE_BELOW_5000_TRY',
MobilePhonePriceAboveRegulationLimit = 'MOBILE_PHONE_PRICE_ABOVE_REGULATION_LIMIT',
MobilePhonePriceBelowRegulationLimit = 'MOBILE_PHONE_PRICE_BELOW_REGULATION_LIMIT',
Tablet = 'TABLET',
Computer = 'COMPUTER',
ConstructionMarket = 'CONSTRUCTION_MARKET',
Expand Down
3 changes: 2 additions & 1 deletion src/model/PosIntegrator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ enum PosIntegrator {
TAMI = 'TAMI',
QNB_PAY = 'QNB_PAY',
AKBANK_VPOS = 'AKBANK_VPOS',
TAP = 'TAP'
TAP = 'TAP',
RUBIK = 'RUBIK'
}

export default PosIntegrator;

0 comments on commit 4589163

Please sign in to comment.