def create_shippingsettings_sample(**overwrites):
  """Creates a sample shippingsettings object for the shippingsettings samples.

  Args:
      **overwrites: dictionary, a set of resource attributes to overwrite

  Returns:
      A new shippingsettings resource in dictionary form.
  """
  shipping = {
      'postalCodeGroups': [],
      'services': [{
          'name':
              'USPS',
          'currency':
              'USD',
          'deliveryCountry':
              'US',
          'deliveryTime': {
              'minTransitTimeInDays': 3,
              'maxTransitTimeInDays': 7
          },
          'active':
              True,
          'rateGroups': [{
              'applicableShippingLabels': [],
              'singleValue': {
                  'flatRate': {
                      'value': '5.00',
                      'currency': 'USD'
                  }
              }
          }]
      }]
  }
  shipping.update(overwrites)
  return shipping