Skip to content

Instantly share code, notes, and snippets.

@VantivSDK
Created November 15, 2018 19:37
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/25c145aba37c615a83af442b0136e33f to your computer and use it in GitHub Desktop.
Save VantivSDK/25c145aba37c615a83af442b0136e33f to your computer and use it in GitHub Desktop.
Java Assume Liability 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.assumeLiability(123L, "Test assumed liability");
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