Package com.stripe.service.v2.payments
Class SettlementAllocationIntentService
java.lang.Object
com.stripe.net.ApiService
com.stripe.service.v2.payments.SettlementAllocationIntentService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCancels an existing SettlementAllocationIntent.cancel(String id, RequestOptions options) Cancels an existing SettlementAllocationIntent.Create a new SettlementAllocationIntent.create(SettlementAllocationIntentCreateParams params, RequestOptions options) Create a new SettlementAllocationIntent.Retrieve an existing SettlementAllocationIntent.retrieve(String id, RequestOptions options) Retrieve an existing SettlementAllocationIntent.splits()Submits a SettlementAllocationIntent.submit(String id, RequestOptions options) Submits a SettlementAllocationIntent.Updates SettlementAllocationIntent.update(String id, RequestOptions options) Updates SettlementAllocationIntent.update(String id, SettlementAllocationIntentUpdateParams params) Updates SettlementAllocationIntent.update(String id, SettlementAllocationIntentUpdateParams params, RequestOptions options) Updates SettlementAllocationIntent.Methods inherited from class com.stripe.net.ApiService
getResponseGetter, request, requestStream
-
Constructor Details
-
SettlementAllocationIntentService
-
-
Method Details
-
create
public SettlementAllocationIntent create(SettlementAllocationIntentCreateParams params) throws StripeException Create a new SettlementAllocationIntent.- Throws:
StripeException
-
create
public SettlementAllocationIntent create(SettlementAllocationIntentCreateParams params, RequestOptions options) throws StripeException Create a new SettlementAllocationIntent.- Throws:
StripeException
-
retrieve
Retrieve an existing SettlementAllocationIntent.- Throws:
StripeException
-
retrieve
public SettlementAllocationIntent retrieve(String id, RequestOptions options) throws StripeException Retrieve an existing SettlementAllocationIntent.- Throws:
StripeException
-
update
public SettlementAllocationIntent update(String id, SettlementAllocationIntentUpdateParams params) throws StripeException Updates SettlementAllocationIntent. Only SettlementAllocationIntent with statuspending,submittedanderroredcan be updated. Only amount and reference fields can be updated for a SettlementAllocationIntent and at least one must be present. Updating anamountmoves the SettlementAllocationIntentpendingstatus and updating thereferenceforerroredSettlementAllocationIntent moves it tosubmitted.- Throws:
StripeException
-
update
Updates SettlementAllocationIntent. Only SettlementAllocationIntent with statuspending,submittedanderroredcan be updated. Only amount and reference fields can be updated for a SettlementAllocationIntent and at least one must be present. Updating anamountmoves the SettlementAllocationIntentpendingstatus and updating thereferenceforerroredSettlementAllocationIntent moves it tosubmitted.- Throws:
StripeException
-
update
Updates SettlementAllocationIntent. Only SettlementAllocationIntent with statuspending,submittedanderroredcan be updated. Only amount and reference fields can be updated for a SettlementAllocationIntent and at least one must be present. Updating anamountmoves the SettlementAllocationIntentpendingstatus and updating thereferenceforerroredSettlementAllocationIntent moves it tosubmitted.- Throws:
StripeException
-
update
public SettlementAllocationIntent update(String id, SettlementAllocationIntentUpdateParams params, RequestOptions options) throws StripeException Updates SettlementAllocationIntent. Only SettlementAllocationIntent with statuspending,submittedanderroredcan be updated. Only amount and reference fields can be updated for a SettlementAllocationIntent and at least one must be present. Updating anamountmoves the SettlementAllocationIntentpendingstatus and updating thereferenceforerroredSettlementAllocationIntent moves it tosubmitted.- Throws:
StripeException
-
cancel
Cancels an existing SettlementAllocationIntent. Only SettlementAllocationIntent with statuspending,submittedanderroredcan becanceled.- Throws:
StripeException
-
cancel
Cancels an existing SettlementAllocationIntent. Only SettlementAllocationIntent with statuspending,submittedanderroredcan becanceled.- Throws:
StripeException
-
submit
Submits a SettlementAllocationIntent. Only SettlementAllocationIntent with statuspendingcan besubmitted. The net sum of SettlementAllocationIntentSplit amount must be equal to SettlementAllocationIntent amount to be eligible to be submitted.- Throws:
StripeException
-
submit
Submits a SettlementAllocationIntent. Only SettlementAllocationIntent with statuspendingcan besubmitted. The net sum of SettlementAllocationIntentSplit amount must be equal to SettlementAllocationIntent amount to be eligible to be submitted.- Throws:
StripeException
-
splits
-