Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes for new OVO Create Payment Flow #25

Merged
merged 2 commits into from
Feb 25, 2020

Conversation

slzhffktm
Copy link

@slzhffktm slzhffktm commented Feb 25, 2020

Resolves #24

  • Add XApiVersion header for Create Payment
  • for-user-id header for Ewallet create payment
  • Add several new fields for Create Payment Response

ewallet.go Outdated
Comment on lines 16 to 22
type EWalletXApiVersionEnum string

// This consists the values that EWalletXApiVersionEnum can take
const (
EWalletXApiVersionEnum20190204 EWalletXApiVersionEnum = "2019-02-04"
EWalletXApiVersionEnum20200201 EWalletXApiVersionEnum = "2020-02-01"
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not have an enum for this as in the ideal case, date-based versioning will be any date within a date range of a version. @slzhffktm Let's accept an arbitrary string for this field

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it

Copy link
Contributor

@stanleynguyen stanleynguyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@slzhffktm Please consider this commit convention for your git usage https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit

@stanleynguyen stanleynguyen merged commit 43c8181 into xendit:master Feb 25, 2020
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.

e-wallets create payment - xApiVersion implementation required
2 participants