Skip to content

Conversation

@lancergr
Copy link
Contributor

Description
Added paymentMethod DTO for /payments call

Tested scenarios
/payments with CC and APM

@lancergr lancergr self-assigned this Oct 29, 2018
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.8%) to 26.475% when pulling 6ae02c2 on checkout-paymentMethod into 3e7c4f8 on develop.

@coveralls
Copy link

coveralls commented Oct 29, 2018

Coverage Status

Coverage decreased (-0.2%) to 27.102% when pulling 45e667f on checkout-paymentMethod into 3e7c4f8 on develop.

this.paymentMethod.put(RECURRING_DETAIL_REFERENCE, recurringDetailReference);
this.paymentMethod.put(ENCRYPTED_SECURITY_CODE, encryptedSecurityCode);
DefaultPaymentMethodDetails paymentMethodDetails = new DefaultPaymentMethodDetails();
this.paymentMethod = paymentMethodDetails;
Copy link
Contributor

@rkewlani rkewlani Oct 30, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: exchange of 634 and 636 will make it more readable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

this.paymentMethod.put(ENCRYPTED_EXPIRY_MONTH, encryptedExpiryMonth);
this.paymentMethod.put(ENCRYPTED_EXPIRY_YEAR, encryptedExpiryYear);
DefaultPaymentMethodDetails paymentMethodDetails = new DefaultPaymentMethodDetails();
this.paymentMethod = paymentMethodDetails;
Copy link
Contributor

@rkewlani rkewlani Oct 30, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: moving L598 to 608 will make it more readable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@lancergr lancergr force-pushed the checkout-paymentMethod branch from 3206a51 to 45e667f Compare October 31, 2018 09:49
@lancergr lancergr requested a review from maassenbas October 31, 2018 09:50
@lancergr lancergr merged commit 5c7eda1 into develop Oct 31, 2018
@lancergr lancergr deleted the checkout-paymentMethod branch October 31, 2018 16:07
@rkewlani rkewlani restored the checkout-paymentMethod branch November 1, 2018 08:55
@rkewlani rkewlani deleted the checkout-paymentMethod branch November 1, 2018 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants