Skip to content

Conversation

@AlexandrosMor
Copy link
Contributor

@AlexandrosMor AlexandrosMor commented Dec 17, 2018

No description provided.

@coveralls
Copy link

coveralls commented Dec 17, 2018

Coverage Status

Coverage decreased (-1.9%) to 24.849% when pulling b8c49b5 on PW-666-CheckoutPaymentV40 into 743a0b7 on develop.

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please remove all .idea/* files ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes the files are removed

* Copyright (c) 2017 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
Copy link
Contributor

Choose a reason for hiding this comment

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

please readd copyright

* ######
* #############
* ############
*
Copy link
Contributor

Choose a reason for hiding this comment

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

please fix copyright

@Override
public int hashCode() {
return Objects.hash(additionalData, authResponse, errorMessage, fraudResult, merchantReference, pspReference, refusalReason, resultCode);
return Objects.hash(additionalData, authResponse, fraudResult, merchantReference, pspReference, refusalReason, resultCode);
Copy link
Contributor

Choose a reason for hiding this comment

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

please add refusalReasonCode

&& Objects.equals(this.socialSecurityNumber, paymentSessionRequest.socialSecurityNumber)
&& Objects.equals(this.telephoneNumber, paymentSessionRequest.telephoneNumber)
&& Objects.equals(this.token, paymentSessionRequest.token);
PaymentSessionRequest paymentSetupRequest = (PaymentSessionRequest) o;
Copy link
Contributor

Choose a reason for hiding this comment

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

should this be called paymentSessionRequest?

public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentSessionRequest {\n");
sb.append("class PaymentSetupRequest {\n");
Copy link
Contributor

Choose a reason for hiding this comment

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

same as above

public ModificationResult adjustAuthorization(AdjustAuthorisationRequest adjustAuthorisationRequest, RequestOptions requestOptions) throws IOException, ApiException {

String jsonRequest = serializeRequest(adjustAuthorisationRequest);
String jsonResult = cancel.request(jsonRequest, requestOptions);
Copy link
Contributor

Choose a reason for hiding this comment

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

is this calling the cancel endpoint?

public ModificationResult technicalCancel(TechnicalCancelRequest technicalCancelRequest, RequestOptions requestOptions) throws IOException, ApiException {

String jsonRequest = serializeRequest(technicalCancelRequest);
String jsonResult = cancel.request(jsonRequest, requestOptions);
Copy link
Contributor

Choose a reason for hiding this comment

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

is this calling the cancel endpoint?

import com.adyen.Service;
import com.adyen.service.Resource;

public class Authorise3DS2 extends Resource {
Copy link
Contributor

Choose a reason for hiding this comment

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

is this used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rikterbeek
Copy link
Contributor

@AlexandrosMor please remove all autogenerated code starting with @javax.annotation.Generated

/**
* SDKEphemPubKey
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.java.JavaClientCodegen", date = "2018-12-06T14:10:59.920Z[GMT]")
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove swagger autogenerated annotations.

/**
* ModelConfiguration
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.java.JavaClientCodegen", date = "2018-12-11T13:51:52.335Z[GMT]")
Copy link
Contributor

Choose a reason for hiding this comment

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

same as above, remove swagger annotation

@SerializedName("accountInfo")
private AccountInfo accountInfo = null;

@SerializedName("applciationInfo")
Copy link
Contributor

Choose a reason for hiding this comment

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

ApplicationInfo is not applicable for PaymentMethodRequest

Copy link
Contributor Author

@AlexandrosMor AlexandrosMor Dec 18, 2018

Choose a reason for hiding this comment

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

Checking the PaymentSetupAndVerificationService-v40.json the applicationInfo it is in the properties.

/**
* ShopperInput
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.java.JavaClientCodegen", date = "2018-11-08T13:12:01.900Z[GMT]")
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above, please remove swagger annotation.

@AlexandrosMor AlexandrosMor merged commit 347bdde into develop Dec 24, 2018
@rkewlani rkewlani deleted the PW-666-CheckoutPaymentV40 branch September 24, 2020 19:10
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.

6 participants