[Payments] Rename isChanging() and noUpdatedPaymentDetails() methods.
This cl renames isChanging() to isWaitingForPaymentDetailsUpdate(). This function returns true after changePaymentMethod(), changeShippingAddress(), and changeShippingOption() calls an before updateWith() or NoUpdatedPaymentDetails() are called, showing that change events are fired and we are waiting for merchants response. This cl also renames noUpdatedPaymentDetials() method to onPaymentDetailsNotUpdated() since the latter is more appropriate for showing that the merchant has not updated any payment details in response to change payment method, shipping address, or shipping option events. TBR=kenrb@chromium.org Bug: 984694 Change-Id: I9b9b5080c31b58432a42f611b880afa21fa79ec0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1946597 Commit-Queue: Sahel Sharify <sahel@chromium.org> Reviewed-by:Ken Buchanan <kenrb@chromium.org> Reviewed-by:
Liquan (Max) Gu <maxlg@chromium.org> Cr-Commit-Position: refs/heads/master@{#720675}
Showing
Please register or sign in to comment