Documentation ¶
Index ¶
- Constants
- func Close(id string, params *stripe.DisputeParams) (*stripe.Dispute, error)
- func Get(id string, params *stripe.DisputeParams) (*stripe.Dispute, error)
- func Update(id string, params *stripe.DisputeParams) (*stripe.Dispute, error)
- type Client
- func (c Client) Close(id string, params *stripe.DisputeParams) (*stripe.Dispute, error)
- func (c Client) Get(id string, params *stripe.DisputeParams) (*stripe.Dispute, error)
- func (c Client) List(params *stripe.DisputeListParams) *Iter
- func (c Client) Update(id string, params *stripe.DisputeParams) (*stripe.Dispute, error)
- type Iter
Constants ¶
View Source
const ( Duplicate stripe.DisputeReason = "duplicate" Fraudulent stripe.DisputeReason = "fraudulent" SubCanceled stripe.DisputeReason = "subscription_canceled" Unacceptable stripe.DisputeReason = "product_unacceptable" NotReceived stripe.DisputeReason = "product_not_received" Unrecognized stripe.DisputeReason = "unrecognized" Credit stripe.DisputeReason = "credit_not_processed" General stripe.DisputeReason = "general" Won stripe.DisputeStatus = "won" Lost stripe.DisputeStatus = "lost" Response stripe.DisputeStatus = "needs_response" Review stripe.DisputeStatus = "under_review" WarningResponse stripe.DisputeStatus = "warning_needs_response" WarningReview stripe.DisputeStatus = "warning_under_review" ChargeRefunded stripe.DisputeStatus = "charge_refunded" WarningClosed stripe.DisputeStatus = "warning_closed" )
Variables ¶
This section is empty.
Functions ¶
func Close ¶
Close dismisses a dispute in the customer's favor. For more details see https://stripe.com/docs/api#close_dispute.
func Get ¶
Get returns the details of a dispute. For more details see https://stripe.com/docs/api#retrieve_dispute.
func Update ¶
Update updates a dispute. For more details see https://stripe.com/docs/api#update_dispute.
Types ¶
type Client ¶
Client is used to invoke dispute-related APIs.
type Iter ¶
Iter is an iterator for lists of Disputes. The embedded Iter carries methods with it; see its documentation for details.
func List ¶
func List(params *stripe.DisputeListParams) *Iter
List returns a list of disputes. For more details see https://stripe.com/docs/api#list_disputes.
Click to show internal directories.
Click to hide internal directories.