File tree Expand file tree Collapse file tree 7 files changed +12
-8
lines changed Expand file tree Collapse file tree 7 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 3
3
"offerCountry" : " ES" ,
4
4
"offerType" : " PAY_LATER_LONG_TERM" ,
5
5
"offerTerm" : " {total_payments}" ,
6
+ "messageType" : " PLLT_NQ_GZ" ,
6
7
"lander" : " https://www.paypal.com/credit-presentment/lander/modal" ,
7
8
"variables" : {
8
9
"offer_id" : " ${CREDIT_OFFERS_DS.offer_id}" ,
Original file line number Diff line number Diff line change 2
2
"meta" : {
3
3
"offerCountry" : " IT" ,
4
4
"offerType" : " PAY_LATER_LONG_TERM" ,
5
- "messageType" : " LONG_TERM:Q " ,
5
+ "messageType" : " PLLT_MQ_GZ " ,
6
6
"offerTerm" : " {total_payments}" ,
7
7
"lander" : " https://www.paypal.com/credit-presentment/lander/modal" ,
8
8
"variables" : {
Original file line number Diff line number Diff line change 2
2
"meta" : {
3
3
"offerCountry" : " IT" ,
4
4
"offerType" : " PAY_LATER_LONG_TERM" ,
5
+ "messageType" : " PLLT_NQ_GZ" ,
5
6
"offerTerm" : " {total_payments}" ,
6
7
"lander" : " https://www.paypal.com/credit-presentment/lander/modal" ,
7
8
"variables" : {
Original file line number Diff line number Diff line change 2
2
"meta" : {
3
3
"offerCountry" : " IT" ,
4
4
"offerType" : " PAY_LATER_LONG_TERM" ,
5
- "messageType" : " LONG_TERM:Q " ,
5
+ "messageType" : " PLLT_MQ_GZ " ,
6
6
"offerTerm" : " {total_payments}" ,
7
7
"lander" : " https://www.paypal.com/credit-presentment/lander/modal" ,
8
8
"variables" : {
Original file line number Diff line number Diff line change 1
1
// mutations import here.
2
+ import longTermQ from './long_term_q' ;
3
+ import longTermNq from './long_term_nq' ;
2
4
import shortTermQ from './short_term_q' ;
3
5
import shortTermNq from './short_term_nq' ;
4
6
import shortTermNoAmount from './short_term_no_amount' ;
5
7
6
8
export default function getMutations ( id , type ) {
7
9
switch ( id ) {
10
+ case 'PLLT_MQ_GZ' :
11
+ return longTermQ [ type ] ;
12
+ case 'PLLT_NQ_GZ' :
13
+ return longTermNq [ type ] ;
8
14
case 'SHORT_TERM:Q' :
9
15
case 'PLST_SQ' :
10
16
return shortTermQ [ type ] ;
Original file line number Diff line number Diff line change @@ -7,11 +7,9 @@ import shortTermNoAmount from './short_term_no_amount';
7
7
8
8
export default function getMutations ( id , type ) {
9
9
switch ( id ) {
10
- case 'LONG_TERM:Q' :
11
- case 'PLLT_SQ' :
10
+ case 'PLLT_MQ_GZ' :
12
11
return longTermQ [ type ] ;
13
- case 'LONG_TERM:NQ' :
14
- case 'PLLT_NQ' :
12
+ case 'PLLT_NQ_GZ' :
15
13
return longTermNq [ type ] ;
16
14
case 'SHORT_TERM:Q' :
17
15
case 'PLST_SQ' :
Original file line number Diff line number Diff line change @@ -215,8 +215,6 @@ export function getStandardProductOffer(offer) {
215
215
case 'LT_SQEZ' :
216
216
case 'LT_SQEZ_RB' :
217
217
case 'LT_SQGZ' :
218
- case 'LONG_TERM:Q' :
219
- case 'LONG_TERM:NQ' :
220
218
case 'GPL:EQZ' :
221
219
case 'GPL:GTZ' :
222
220
case 'GPLQ:EQZ' :
You can’t perform that action at this time.
0 commit comments