Skip to content

Add accept method for Dispute#47

Merged
som-m merged 1 commit intoomise:masterfrom
som-m:dispute-accept
Feb 10, 2021
Merged

Add accept method for Dispute#47
som-m merged 1 commit intoomise:masterfrom
som-m:dispute-accept

Conversation

@som-m
Copy link
Copy Markdown
Contributor

@som-m som-m commented Feb 4, 2021

Summary

  • Add accept method for Dispute (Omise doc)
  • Add test

QA

You should be able to accept a dispute.

  1. Retrieve a dispute
    dispute = omise.Dispute.retrieve("dspt_test_5msj7ya0c27fryquml7")

  2. Accept the dispute
    dispute.accept()

  3. Check whether the dispute has been accepted, the status should be lost
    dispute.status

@som-m som-m merged commit 068b861 into omise:master Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants