Skip to content

Instantly share code, notes, and snippets.

@VantivSDK
Created November 15, 2018 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VantivSDK/98f8dce1d99a6059717c198872909b6b to your computer and use it in GitHub Desktop.
Save VantivSDK/98f8dce1d99a6059717c198872909b6b to your computer and use it in GitHub Desktop.
Java Respond to a Retrieval Example
package com.cnp.sdk.functional;
import com.cnp.sdk.ChargebackUpdate;
import com.cnp.sdk.generate.ChargebackUpdateResponse;
public class Example {
public static void main(String[] args){
ChargebackUpdate cbk = new ChargebackUpdate();
ChargebackUpdateResponse response = cbk.respondToRetrievalRequest(123L, "Test responded to Update request");
System.out.println("Transaction ID:"+response.getTransactionId());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment