This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'CnpChargeback' | |
include CnpChargeback | |
response = ChargebackUpdate.new.assign_case_to_user(case_id: 10000, user_id: "[email protected]", note: "Test note") | |
puts response.transactionId |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cnp.sdk.functional; | |
import com.cnp.sdk.ChargebackRetrieval; | |
import com.cnp.sdk.generate.ChargebackRetrievalResponse; | |
public class Example { | |
public static void main(String[] args){ | |
ChargebackRetrieval cbk = new ChargebackRetrieval(); | |
ChargebackRetrievalResponse response = cbk.getChargebacksByARN("000000000"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cnp.sdk.functional; | |
import com.cnp.sdk.ChargebackRetrieval; | |
import com.cnp.sdk.generate.ChargebackRetrievalResponse; | |
public class Example { | |
public static void main(String[] args){ | |
ChargebackRetrieval cbk = new ChargebackRetrieval(); | |
ChargebackRetrievalResponse response = cbk.getChargebacksByCardNumber("1111000011110000", "0118"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cnp.sdk.functional; | |
import com.cnp.sdk.ChargebackRetrieval; | |
import com.cnp.sdk.generate.ChargebackRetrievalResponse; | |
public class Example { | |
public static void main(String[] args){ | |
ChargebackRetrieval cbk = new ChargebackRetrieval(); | |
ChargebackRetrievalResponse response = cbk.getChargebackByCaseId(123L); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cnp.sdk.functional; | |
import com.cnp.sdk.ChargebackRetrieval; | |
import com.cnp.sdk.generate.ChargebackRetrievalResponse; | |
public class Example { | |
public static void main(String[] args){ | |
ChargebackRetrieval cbk = new ChargebackRetrieval(); | |
ChargebackRetrievalResponse response = cbk.getActionableChargebacks(true); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cnp.sdk.functional; | |
import com.cnp.sdk.ChargebackRetrieval; | |
import com.cnp.sdk.generate.ChargebackRetrievalResponse; | |
public class Example { | |
public static void main(String[] args){ | |
ChargebackRetrieval cbk = new ChargebackRetrieval(); | |
ChargebackRetrievalResponse response = cbk.getChargebacksByDate("2018-01-01"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.representCase(123L, 20L, "Test represented"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.addNoteToCase(123L, "Test added note"); |