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

Create fixes #5

Merged
merged 4 commits into from
May 6, 2016
Merged

Create fixes #5

merged 4 commits into from
May 6, 2016

Conversation

nickandrew
Copy link
Contributor

The main change here is to enable Promotion codes when creating domains (as a .xyz registration is 44 cents for the next few days).

Secondarily, $domain->getinfo() is added.

Finally, all files have had trailing whitespace cleaned up.

  * Adds support for optional: PromotionCode IdnCode isPremiumDomain PremiumPrice EapFee
  * Adds support for 'Extended attributes' string (untested)
  * Adds optional 'Billing', treated like other hashref arguments only if supplied

Optional parameters (according to the API) have been moved into a code block
where they're only copied into the request if supplied in function arguments.

Note: AddFreeWhoisguard and WGEnable now default to 'no' as per the
Namecheap API documentation. I believe this feature is deprecated.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
If the EPPCode string has already been base64-encoded, pass it through.
This retains backward compatibility with an earlier version of this
module.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
Signed-off-by: Nick Andrew <nick@nick-andrew.net>
Returns a big data structure with all information about the requested
domain.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
@twilde twilde merged commit 48ed59c into twilde:master May 6, 2016
@twilde
Copy link
Owner

twilde commented May 6, 2016

Thanks!

@twilde twilde self-assigned this May 6, 2016
@nickandrew nickandrew deleted the create-fixes branch May 7, 2016 04:49
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