Package io.moov.sdk.models.components
Class Dispute
- java.lang.Object
-
- io.moov.sdk.models.components.Dispute
-
public class Dispute extends java.lang.ObjectDisputeDetails of a card transaction dispute.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDispute.Builder
-
Constructor Summary
Constructors Constructor Description Dispute(java.lang.String disputeID, java.lang.String merchantAccountID, Amount amount, java.lang.String networkReasonCode, DisputeTransferDetails transfer, java.time.OffsetDateTime respondBy, DisputeStatus status, DisputePhase phase, java.time.OffsetDateTime createdOn)Dispute(java.lang.String disputeID, java.lang.String merchantAccountID, Amount amount, java.lang.String networkReasonCode, java.util.Optional<java.lang.String> networkReasonDescription, DisputeTransferDetails transfer, java.time.OffsetDateTime respondBy, DisputeStatus status, DisputePhase phase, java.time.OffsetDateTime createdOn, java.util.Optional<java.time.OffsetDateTime> submittedOn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Amountamount()static Dispute.Builderbuilder()java.time.OffsetDateTimecreatedOn()java.lang.StringdisputeID()booleanequals(java.lang.Object o)inthashCode()java.lang.StringmerchantAccountID()java.lang.StringnetworkReasonCode()Indicates the card network's category for the dispute.java.util.Optional<java.lang.String>networkReasonDescription()Provides detail on the card network's categorization of the dispute.DisputePhasephase()The phase of a dispute within the dispute lifecycle.java.time.OffsetDateTimerespondBy()DisputeStatusstatus()The status of a particular dispute.java.util.Optional<java.time.OffsetDateTime>submittedOn()java.lang.StringtoString()DisputeTransferDetailstransfer()DisputewithAmount(Amount amount)DisputewithCreatedOn(java.time.OffsetDateTime createdOn)DisputewithDisputeID(java.lang.String disputeID)DisputewithMerchantAccountID(java.lang.String merchantAccountID)DisputewithNetworkReasonCode(java.lang.String networkReasonCode)Indicates the card network's category for the dispute.DisputewithNetworkReasonDescription(java.lang.String networkReasonDescription)Provides detail on the card network's categorization of the dispute.DisputewithNetworkReasonDescription(java.util.Optional<java.lang.String> networkReasonDescription)Provides detail on the card network's categorization of the dispute.DisputewithPhase(DisputePhase phase)The phase of a dispute within the dispute lifecycle.DisputewithRespondBy(java.time.OffsetDateTime respondBy)DisputewithStatus(DisputeStatus status)The status of a particular dispute.DisputewithSubmittedOn(java.time.OffsetDateTime submittedOn)DisputewithSubmittedOn(java.util.Optional<java.time.OffsetDateTime> submittedOn)DisputewithTransfer(DisputeTransferDetails transfer)
-
-
-
Constructor Detail
-
Dispute
public Dispute(java.lang.String disputeID, java.lang.String merchantAccountID, Amount amount, java.lang.String networkReasonCode, java.util.Optional<java.lang.String> networkReasonDescription, DisputeTransferDetails transfer, java.time.OffsetDateTime respondBy, DisputeStatus status, DisputePhase phase, java.time.OffsetDateTime createdOn, java.util.Optional<java.time.OffsetDateTime> submittedOn)
-
Dispute
public Dispute(java.lang.String disputeID, java.lang.String merchantAccountID, Amount amount, java.lang.String networkReasonCode, DisputeTransferDetails transfer, java.time.OffsetDateTime respondBy, DisputeStatus status, DisputePhase phase, java.time.OffsetDateTime createdOn)
-
-
Method Detail
-
disputeID
public java.lang.String disputeID()
-
merchantAccountID
public java.lang.String merchantAccountID()
-
amount
public Amount amount()
-
networkReasonCode
public java.lang.String networkReasonCode()
Indicates the card network's category for the dispute.These codes may differ between card brands. You can find more information on the code from the networkReasonDescription field.
-
networkReasonDescription
public java.util.Optional<java.lang.String> networkReasonDescription()
Provides detail on the card network's categorization of the dispute.
-
transfer
public DisputeTransferDetails transfer()
-
respondBy
public java.time.OffsetDateTime respondBy()
-
status
public DisputeStatus status()
The status of a particular dispute.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/#dispute-statuses) to learn what each status means.
-
phase
public DisputePhase phase()
The phase of a dispute within the dispute lifecycle.
-
createdOn
public java.time.OffsetDateTime createdOn()
-
submittedOn
public java.util.Optional<java.time.OffsetDateTime> submittedOn()
-
builder
public static final Dispute.Builder builder()
-
withDisputeID
public Dispute withDisputeID(java.lang.String disputeID)
-
withMerchantAccountID
public Dispute withMerchantAccountID(java.lang.String merchantAccountID)
-
withNetworkReasonCode
public Dispute withNetworkReasonCode(java.lang.String networkReasonCode)
Indicates the card network's category for the dispute.These codes may differ between card brands. You can find more information on the code from the networkReasonDescription field.
-
withNetworkReasonDescription
public Dispute withNetworkReasonDescription(java.lang.String networkReasonDescription)
Provides detail on the card network's categorization of the dispute.
-
withNetworkReasonDescription
public Dispute withNetworkReasonDescription(java.util.Optional<java.lang.String> networkReasonDescription)
Provides detail on the card network's categorization of the dispute.
-
withTransfer
public Dispute withTransfer(DisputeTransferDetails transfer)
-
withRespondBy
public Dispute withRespondBy(java.time.OffsetDateTime respondBy)
-
withStatus
public Dispute withStatus(DisputeStatus status)
The status of a particular dispute.Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/#dispute-statuses) to learn what each status means.
-
withPhase
public Dispute withPhase(DisputePhase phase)
The phase of a dispute within the dispute lifecycle.
-
withCreatedOn
public Dispute withCreatedOn(java.time.OffsetDateTime createdOn)
-
withSubmittedOn
public Dispute withSubmittedOn(java.time.OffsetDateTime submittedOn)
-
withSubmittedOn
public Dispute withSubmittedOn(java.util.Optional<java.time.OffsetDateTime> submittedOn)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-