We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
func (r *RecurringApplicationChargeServiceOp) Update(chargeID, newCappedAmount int) ( *RecurringApplicationCharge, error) { path := fmt.Sprintf("%s/%d/customize.json?recurring_application_charge[capped_amount]=%d", recurringApplicationChargesBasePath, chargeID, newCappedAmount) resource := &RecurringApplicationChargeResource{} err := r.client.Put(path, nil, resource) return resource.Charge, err }
the newCappedAmount should be the type decimal instead of an int. however the change would be break the original interface.
The text was updated successfully, but these errors were encountered:
Addressing this in #258
Sorry, something went wrong.
Address bold-commerce#37 - RecurringApplicationCharge cannot update t…
e07af64
…he usage cap to a decimal amount
v4.0.0 was released - this should be fixed.
No branches or pull requests
the newCappedAmount should be the type decimal instead of an int.
however the change would be break the original interface.
The text was updated successfully, but these errors were encountered: