Class SettlementAllocationIntentSplit

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

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

    • SettlementAllocationIntentSplit

      public SettlementAllocationIntentSplit()
  • Method Details

    • getAccount

      public String getAccount()
      The account id against which the SettlementAllocationIntentSplit should be settled.
    • getAmount

      The amount and currency of the SettlementAllocationIntentSplit.
    • getCreated

      public Instant getCreated()
      Timestamp at which SettlementAllocationIntentSplit was created.
    • getFlow

      Details about the Flow object that settled the split.
    • 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.
    • 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_split.

    • getSettlementAllocationIntent

      public String getSettlementAllocationIntent()
      The ID of the SettlementAllocationIntent that this split belongs too.
    • getStatus

      public String getStatus()
      The status of the SettlementAllocationIntentSplit.

      One of canceled, pending, or settled.

    • getType

      public String getType()
      The type of the SettlementAllocationIntentSplit.

      One of credit, or debit.

    • setAccount

      public void setAccount(String account)
      The account id against which the SettlementAllocationIntentSplit should be settled.
    • setAmount

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

      public void setCreated(Instant created)
      Timestamp at which SettlementAllocationIntentSplit was created.
    • setFlow

      public void setFlow(SettlementAllocationIntentSplit.Flow flow)
      Details about the Flow object that settled the split.
    • setId

      public void setId(String id)
      Unique identifier for the SettlementAllocationIntentSplit.
    • 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.
    • 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_split.

    • setSettlementAllocationIntent

      public void setSettlementAllocationIntent(String settlementAllocationIntent)
      The ID of the SettlementAllocationIntent that this split belongs too.
    • setStatus

      public void setStatus(String status)
      The status of the SettlementAllocationIntentSplit.

      One of canceled, pending, or settled.

    • setType

      public void setType(String type)
      The type of the SettlementAllocationIntentSplit.

      One of credit, or debit.

    • 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 SettlementAllocationIntentSplit.
      Specified by:
      getId in interface HasId