Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dispute ¶
type Dispute struct {
mixin.Model[Dispute]
Amount int64 `json:"amount"`
Currency currency.Type `json:"currency"`
Status Status `json:"status"`
ProviderRef string `json:"providerRef"`
Reason string `json:"reason,omitempty"`
EvidenceDueBy time.Time `json:"evidenceDueBy,omitempty"`
PaymentIntentId string `json:"paymentIntentId,omitempty"`
Evidence *DisputeEvidence `json:"evidence,omitempty"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
Created time.Time `json:"created,omitempty"`
}
Dispute represents a customer challenge to a charge.
type DisputeEvidence ¶
type DisputeEvidence struct {
CustomerName string `json:"customerName,omitempty"`
CustomerEmailAddress string `json:"customerEmailAddress,omitempty"`
ProductDescription string `json:"productDescription,omitempty"`
ServiceDate string `json:"serviceDate,omitempty"`
UncategorizedText string `json:"uncategorizedText,omitempty"`
}
DisputeEvidence holds the evidence submitted for a dispute.
Click to show internal directories.
Click to hide internal directories.