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

Remove premium_price attribute from registrar order responses #67

Merged
merged 3 commits into from
Jan 5, 2018

Conversation

weppos
Copy link
Member

@weppos weppos commented Dec 28, 2017

@weppos weppos added enhancement New feature, enhancement or code changes, not related to defects ready-for-review Pull requests that are ready to be reviewed by other team members. labels Dec 28, 2017
@weppos weppos self-assigned this Dec 28, 2017
@weppos weppos requested review from jodosha and aeden December 28, 2017 14:46
aeden
aeden previously requested changes Dec 30, 2017
Copy link
Member

@aeden aeden left a comment

Choose a reason for hiding this comment

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

There's some inline documentation that appears incorrect and is confusing.

@@ -122,6 +121,9 @@ type DomainRegisterRequest struct {
// Set to true to enable the auto-renewal of the domain.
// Default to true.
EnableAutoRenewal bool `json:"auto_renew,omitempty"`
// Required as confirmation of the price, only if the domain is premium.
// Default to true.
Copy link
Member

Choose a reason for hiding this comment

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

I don't understand why this says "Default to true" when this is a string value.

Copy link
Member Author

Choose a reason for hiding this comment

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

It is a mistake.

@@ -175,6 +176,9 @@ type DomainTransferRequest struct {
// Set to true to enable the auto-renewal of the domain.
// Default to true.
EnableAutoRenewal bool `json:"auto_renew,omitempty"`
// Required as confirmation of the price, only if the domain is premium.
// Default to true.
Copy link
Member

Choose a reason for hiding this comment

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

I don't understand why this says "Default to true" when this is a string value.

@@ -239,6 +242,9 @@ type domainRenewalResponse struct {
type DomainRenewRequest struct {
// The number of years
Period int `json:"period"`
// Required as confirmation of the price, only if the domain is premium.
// Default to true.
Copy link
Member

Choose a reason for hiding this comment

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

I don't understand why this says "Default to true" when this is a string value.

@weppos
Copy link
Member Author

weppos commented Jan 4, 2018

I fixed it @aeden

@weppos weppos dismissed aeden’s stale review January 5, 2018 11:19

Applied the fixes

@weppos weppos merged commit a55969d into master Jan 5, 2018
@weppos weppos deleted the premium-price branch January 5, 2018 11:19
weppos added a commit that referenced this pull request Jan 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, enhancement or code changes, not related to defects ready-for-review Pull requests that are ready to be reviewed by other team members.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants