()
| 730 | } |
| 731 | |
| 732 | function persistBillingProfileNonSensitive() { |
| 733 | const data = collectBillingFormData(); |
| 734 | storage.set(BILLING_STORAGE_KEY, { |
| 735 | billing_name: data.billing_name, |
| 736 | country_code: data.country_code, |
| 737 | currency: data.currency, |
| 738 | address_line1: data.address_line1, |
| 739 | address_city: data.address_city, |
| 740 | address_state: data.address_state, |
| 741 | postal_code: data.postal_code, |
| 742 | }); |
| 743 | } |
| 744 | |
| 745 | function restoreBillingProfileNonSensitive() { |
| 746 | const saved = storage.get(BILLING_STORAGE_KEY, null); |
no test coverage detected