Index: ios/chrome/browser/payments/payment_request_view_controller.h |
diff --git a/ios/chrome/browser/payments/payment_request_view_controller.h b/ios/chrome/browser/payments/payment_request_view_controller.h |
index 311064ab5a6c569d6a7e02ee843081100c1b510b..359216ec25b23f102aa582227bad64147ff3866b 100644 |
--- a/ios/chrome/browser/payments/payment_request_view_controller.h |
+++ b/ios/chrome/browser/payments/payment_request_view_controller.h |
@@ -20,6 +20,7 @@ class CreditCard; |
- (void)paymentRequestViewControllerDidConfirm; |
- (void)paymentRequestViewControllerDisplayPaymentItems; |
- (void)paymentRequestViewControllerSelectShippingAddress; |
+- (void)paymentRequestViewControllerSelectShippingOption; |
- (void)paymentRequestViewControllerSelectPaymentMethod; |
@end |
@@ -44,6 +45,9 @@ class CreditCard; |
// The currently selected and displayed shipping address, if any. |
@property(nonatomic, assign) autofill::AutofillProfile* selectedShippingAddress; |
+// The currently selected and displayed shipping option, if any. |
+@property(nonatomic, assign) web::PaymentShippingOption* selectedShippingOption; |
+ |
// The currently selected and displayed payment method, if any. |
@property(nonatomic, assign) autofill::CreditCard* selectedPaymentMethod; |
@@ -54,6 +58,10 @@ class CreditCard; |
- (void)updateSelectedShippingAddress: |
(autofill::AutofillProfile*)shippingAddress; |
+// Sets the selected shipping option and updates the UI. |
+- (void)updateSelectedShippingOption: |
+ (web::PaymentShippingOption*)shippingOption; |
+ |
- (instancetype)init NS_DESIGNATED_INITIALIZER; |
- (instancetype)initWithStyle:(CollectionViewControllerStyle)style |