Skip to content

Commit

Permalink
no more context arg
Browse files Browse the repository at this point in the history
  • Loading branch information
frosso committed Jul 16, 2024
1 parent 91d99e5 commit 3a3234a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions client/tokenized-payment-request/cart-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export default class PaymentRequestCartApi {
* payment_method: string,
* payment_data: Array,
* }} paymentData Additional payment data to place the order.
* @param {string} context The context in which the request is being made.
* @return {Promise} Result of the order creation request.
*/
async placeOrder( paymentData ) {
Expand Down Expand Up @@ -123,7 +122,6 @@ export default class PaymentRequestCartApi {
* billing_address: Object?,
* shipping_address: Object?,
* }} customerData Customer data to update.
* @param {string} context The context in which the request is being made.
* @return {Promise} Cart Response on success, or an Error Response on failure.
*/
async updateCustomer( customerData ) {
Expand All @@ -143,7 +141,6 @@ export default class PaymentRequestCartApi {
* See https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/src/StoreApi/docs/cart.md#select-shipping-rate
*
* @param {{rate_id: string, package_id: integer}} shippingRate The selected shipping rate.
* @param {string} context The context in which the request is being made.
* @return {Promise} Cart Response on success, or an Error Response on failure.
*/
async selectShippingRate( shippingRate ) {
Expand Down

0 comments on commit 3a3234a

Please sign in to comment.