Package com.stripe.model.treasury
Class ReceivedCredit.TestHelpers
java.lang.Object
com.stripe.model.treasury.ReceivedCredit.TestHelpers
- Enclosing class:
- ReceivedCredit
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReceivedCreditcreate(ReceivedCreditCreateParams params) Simulates a testReceivedCreditinitiated by a third party.static ReceivedCreditcreate(ReceivedCreditCreateParams params, RequestOptions options) Simulates a testReceivedCreditinitiated by a third party.static ReceivedCreditSimulates a testReceivedCreditinitiated by a third party.static ReceivedCreditcreate(Map<String, Object> params, RequestOptions options) Simulates a testReceivedCreditinitiated by a third party.
-
Method Details
-
create
Simulates a testReceivedCreditinitiated by a third party. In live mode, you can’t directly createReceivedCreditobjects initiated by third parties.- Throws:
StripeException
-
create
public static ReceivedCredit create(Map<String, Object> params, RequestOptions options) throws StripeExceptionSimulates a testReceivedCreditinitiated by a third party. In live mode, you can’t directly createReceivedCreditobjects initiated by third parties.- Throws:
StripeException
-
create
Simulates a testReceivedCreditinitiated by a third party. In live mode, you can’t directly createReceivedCreditobjects initiated by third parties.- Throws:
StripeException
-
create
public static ReceivedCredit create(ReceivedCreditCreateParams params, RequestOptions options) throws StripeException Simulates a testReceivedCreditinitiated by a third party. In live mode, you can’t directly createReceivedCreditobjects initiated by third parties.- Throws:
StripeException
-