ফিড

বণিক "A" একটি 1-ঘন্টা বাতিলকরণ উইন্ডো সহ $100 ডিপোজিট ব্যবহার করে, যাতে তাদের জনপ্রিয় প্যাটিও আসন পূর্ণ থাকে তা নিশ্চিত করতে৷ তাদের ইনডোর সিটিং এর জন্য এই ফি নেই এবং রিজার্ভেশন করার জন্য ক্রেডিট কার্ডের প্রয়োজন নেই।

বণিক "B" তাদের সমস্ত আসনের জন্য $20 প্রতি-ব্যক্তি নো-শো ফি আছে যা তারা আবেদন করতে বেছে নিতে পারে। তাদের আরও প্রয়োজন যে সমস্ত বুকিং এবং বাতিলকরণ কমপক্ষে 30 মিনিট আগে ঘটতে পারে।

বণিক "C" অর্থপ্রদানের সাথে কাজ করে না। তারা তাদের লাঞ্চ ব্লকের জন্য স্ট্যান্ডার্ড বুকিং গ্রহণ করে, কিন্তু রাতের খাবারের ভিড়ের সময় বুকিংয়ের জন্য রেস্তোরাঁর পরিচালকের অনুমোদনের প্রয়োজন হয়। এই প্রক্রিয়াটিকে সমর্থন করার জন্য, তাদের প্রয়োজন যে সমস্ত ডিনার বুকিং কমপক্ষে এক ঘন্টা আগে করা উচিত।

বণিক

{
  "metadata": {
    "processing_instruction": "PROCESS_AS_COMPLETE",
    "shard_number": 0,
    "total_shards": 1,
    "nonce": "12923311",
    "generation_timestamp": 1530431933
  },
  "merchant": [
    {
      "merchant_id": "dining-A",
      "name": "The Noodle Shop",
      "telephone": "+1 123-456-7890",
      "url": "www.diningAspublicsite.com",
      "tax_rate": {
        "micro_percent": 6750000
      },
      "tokenization_config": {
        "tokenization_parameter": {
          "stripe:publishableKey": "merch_live_5ALFBK23V29384",
          "gateway": "stripe",
          "stripe:version": "2017-08-15"
        }
      },
      "geo": {
        "latitude": 37.422113,
        "longitude": -122.084041,
        "address": {
          "country": "US",
          "region": "CA",
          "postal_code": "94043",
          "street_address": "1897 Landings Dr",
          "locality": "Mountain View"
        }
      },
      "category": "restaurant"
    },
    {
      "merchant_id": "dining-B",
      "name": "Burrito Express",
      "telephone": "+1 123-456-7890",
      "url": "www.diningBspublicsite.com",
      "tax_rate": {
        "micro_percent": 6750000
      },
      "tokenization_config": {
        "tokenization_parameter": {
          "stripe:publishableKey": "merch_live_209XDVJ329VJKD",
          "gateway": "stripe",
          "stripe:version": "2017-08-15"
        }
      },
      "geo": {
        "latitude": 37.422113,
        "longitude": -122.084041,
        "address": {
          "country": "US",
          "region": "CA",
          "postal_code": "94043",
          "street_address": "1550 Plymouth St",
          "locality": "Mountain View"
        }
      },
      "category": "restaurant"
    },
    {
      "merchant_id": "dining-C",
      "name": "Coffee Café",
      "telephone": "+1 123-456-7854",
      "url": "www.diningCspublicsite.com",
      "geo": {
        "latitude": 37.422113,
        "longitude": -122.084041,
        "address": {
          "country": "US",
          "region": "CA",
          "postal_code": "94043",
          "street_address": "1500 Plymouth St",
          "locality": "Mountain View"
        }
      },
      "category": "restaurant"
    }
  ]
}

সেবা

{
  "metadata": {
    "processing_instruction": "PROCESS_AS_COMPLETE",
    "shard_number": 0,
    "total_shards": 1,
    "nonce": "12484913",
    "generation_timestamp": 1530432018
  },
  "service": [
    {
      "merchant_id": "dining-A",
      "service_id": "reservation",
      "localized_service_name": {
        "value": "Reservation",
        "localized_value": [
          {
            "locale": "en",
            "value": "Reservation"
          }
        ]
      }
    },
    {
      "merchant_id": "dining-B",
      "service_id": "reservation",
       "localized_service_name": {
        "value": "Reservation",
        "localized_value": [
          {
            "locale": "en",
            "value": "Reservation"
          }
        ]
      },
      "no_show_fee": {
        "fee": {
          "price_micros": 20000000,
           "currency_code": "USD"
         },
         "fee_type": "PER_PERSON"
      },
     "rules": {
        "min_advance_booking": 1800,
        "min_advance_online_canceling": 1800
      }
    },
    {
      "merchant_id": "dining-C",
      "service_id": "reservation",
       "localized_service_name": {
        "value": "Reservation",
        "localized_value": [
          {
            "locale": "en",
            "value": "Reservation"
          }
        ]
      }
    }
  ]
}

প্রাপ্যতা

{
  "metadata": {
    "processing_instruction": "PROCESS_AS_COMPLETE",
    "shard_number": 0,
    "total_shards": 1,
    "nonce": "11203880",
    "generation_timestamp": 1543875200
  },
  "service_availability": [
    {
      "availability": [
        {
          "merchant_id": "dining-A",
          "service_id": "reservation",
          "start_sec": 1535853600,
          "duration_sec": 2700,
          "spots_total": 2,
          "spots_open": 2,
          "resources": {
            "room_id": "A-dining-room",
            "room_name": "Dining Room",
            "party_size": 2
          }
        },
        {
          "merchant_id": "dining-A",
          "service_id": "reservation",
          "start_sec": 1535853600,
          "duration_sec": 1800,
          "spots_total": 2,
          "spots_open": 2,
          "resources": {
            "room_id": "A-patio",
            "room_name": "Patio",
            "party_size": 2
          },
          "deposit": {
            "deposit": {
              "price_micros": 100000000,
              "currency_code": "USD"
            },
            "min_advance_cancellation_sec": 3600
          }
        },
        {
          "merchant_id": "dining-B",
          "service_id": "reservation",
          "start_sec": 1535853600,
          "duration_sec": 1800,
          "spots_total": 2,
          "spots_open": 2,
          "resources": {
            "party_size": 2
          }
        },
        {
          "merchant_id": "dining-B",
          "service_id": "reservation",
          "start_sec": 1535853600,
          "duration_sec": 1800,
          "spots_total": 2,
          "spots_open": 2,
          "resources": {
            "party_size": 4
          }
        },
        {
          "merchant_id": "dining-C",
          "service_id": "reservation",
          "start_sec": 1535853600,
          "duration_sec": 1800,
          "spots_total": 2,
          "spots_open": 2,
          "resources": {
            "party_size": 2
          },
          "confirmation_mode": "CONFIRMATION_MODE_SYNCHRONOUS"
        },
        {
          "merchant_id": "dining-C",
          "service_id": "reservation",
          "start_sec": 1535855400,
          "duration_sec": 1800,
          "spots_total": 2,
          "spots_open": 2,
          "resources": {
            "party_size": 2
          },
          "confirmation_mode": "CONFIRMATION_MODE_ASYNCHRONOUS",
          "scheduling_rule_overrides": {
            "last_bookable_sec": 1535851800
          }
        }
      ]
    }
  ]
}