Class SettlementAllocationIntent

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.payments.SettlementAllocationIntent
All Implemented Interfaces:
HasId, StripeObjectInterface

public class SettlementAllocationIntent extends StripeObject implements HasId
SettlementAllocationIntent resource.
  • Constructor Details

    • SettlementAllocationIntent

      public SettlementAllocationIntent()
  • Method Details

    • getAmount

      The amount and currency of the SettlementAllocationIntent.
    • getCreated

      public Instant getCreated()
      Timestamp at which SettlementAllocationIntent was created .
    • getExpectedSettlementDate

      public Instant getExpectedSettlementDate()
      Date when we expect to receive the funds.
    • getFinancialAccount

      public String getFinancialAccount()
      FinancialAccount ID where the funds are expected.
    • getLinkedCredits

      public List<String> getLinkedCredits()
      List of ReceivedCredits that matched with the SettlementAllocationIntent.
    • getLivemode

      public Boolean getLivemode()
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • getMetadata

      public Map<String,String> getMetadata()
      Metadata associated with the SettlementAllocationIntent.
    • getObject

      public String getObject()
      String representing the object's type. Objects of the same type share the same value of the object field.

      Equal to v2.payments.settlement_allocation_intent.

    • getReference

      public String getReference()
      Reference for the SettlementAllocationIntent. This is the transaction reference used by payments processor to send funds to Stripe .
    • getStatus

      public String getStatus()
      SettlementAllocationIntent status.

      One of canceled, errored, matched, pending, settled, or submitted.

    • getStatusDetails

      public SettlementAllocationIntent.StatusDetails getStatusDetails()
      Status details for a SettlementAllocationIntent in errored state.
    • setAmount

      public void setAmount(SettlementAllocationIntent.Amount amount)
      The amount and currency of the SettlementAllocationIntent.
    • setCreated

      public void setCreated(Instant created)
      Timestamp at which SettlementAllocationIntent was created .
    • setExpectedSettlementDate

      public void setExpectedSettlementDate(Instant expectedSettlementDate)
      Date when we expect to receive the funds.
    • setFinancialAccount

      public void setFinancialAccount(String financialAccount)
      FinancialAccount ID where the funds are expected.
    • setId

      public void setId(String id)
      Unique identifier for the SettlementAllocationIntent.
    • setLinkedCredits

      public void setLinkedCredits(List<String> linkedCredits)
      List of ReceivedCredits that matched with the SettlementAllocationIntent.
    • setLivemode

      public void setLivemode(Boolean livemode)
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • setMetadata

      public void setMetadata(Map<String,String> metadata)
      Metadata associated with the SettlementAllocationIntent.
    • setObject

      public void setObject(String object)
      String representing the object's type. Objects of the same type share the same value of the object field.

      Equal to v2.payments.settlement_allocation_intent.

    • setReference

      public void setReference(String reference)
      Reference for the SettlementAllocationIntent. This is the transaction reference used by payments processor to send funds to Stripe .
    • setStatus

      public void setStatus(String status)
      SettlementAllocationIntent status.

      One of canceled, errored, matched, pending, settled, or submitted.

    • setStatusDetails

      public void setStatusDetails(SettlementAllocationIntent.StatusDetails statusDetails)
      Status details for a SettlementAllocationIntent in errored state.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getId

      public String getId()
      Unique identifier for the SettlementAllocationIntent.
      Specified by:
      getId in interface HasId