def create_order_reference_for_id(
      id,
      id_type,
      inherit_shipping_address: nil,
      confirm_now: nil,
      amount: nil,
      currency_code: @currency_code,
      platform_id: nil,
      seller_note: nil,
      seller_order_id: nil,
      store_name: nil,
      custom_information: nil,
      supplementary_data: nil,
      merchant_id: @merchant_id,
      mws_auth_token: nil
    )

      parameters = {
        'Action' => 'CreateOrderReferenceForId',
        'SellerId' => merchant_id,
        'Id' => id,
        'IdType' => id_type
      }

      optional = {
        'InheritShippingAddress' => inherit_shipping_address,
        'ConfirmNow' => confirm_now,
        'OrderReferenceAttributes.OrderTotal.Amount' => amount,
        'OrderReferenceAttributes.OrderTotal.CurrencyCode' => currency_code,
        'OrderReferenceAttributes.PlatformId' => platform_id,
        'OrderReferenceAttributes.SellerNote' => seller_note,
        'OrderReferenceAttributes.SellerOrderAttributes.SellerOrderId' => seller_order_id,
        'OrderReferenceAttributes.SellerOrderAttributes.StoreName' => store_name,
        'OrderReferenceAttributes.SellerOrderAttributes.CustomInformation' => custom_information,
        'OrderReferenceAttributes.SellerOrderAttributes.SupplementaryData' => supplementary_data,
        'MWSAuthToken' => mws_auth_token
      }

      operation(parameters, optional)
    end
def create_order_reference_for_id(
      id,
      id_type,
      inherit_shipping_address: nil,
      confirm_now: nil,
      amount: nil,
      currency_code: @currency_code,
      platform_id: nil,
      seller_note: nil,
      seller_order_id: nil,
      store_name: nil,
      custom_information: nil,
      supplementary_data: nil,
      merchant_id: @merchant_id,
      mws_auth_token: nil
    )

      parameters = {
        'Action' => 'CreateOrderReferenceForId',
        'SellerId' => merchant_id,
        'Id' => id,
        'IdType' => id_type
      }

      optional = {
        'InheritShippingAddress' => inherit_shipping_address,
        'ConfirmNow' => confirm_now,
        'OrderReferenceAttributes.OrderTotal.Amount' => amount,
        'OrderReferenceAttributes.OrderTotal.CurrencyCode' => currency_code,
        'OrderReferenceAttributes.PlatformId' => platform_id,
        'OrderReferenceAttributes.SellerNote' => seller_note,
        'OrderReferenceAttributes.SellerOrderAttributes.SellerOrderId' => seller_order_id,
        'OrderReferenceAttributes.SellerOrderAttributes.StoreName' => store_name,
        'OrderReferenceAttributes.SellerOrderAttributes.CustomInformation' => custom_information,
        'OrderReferenceAttributes.SellerOrderAttributes.SupplementaryData' => supplementary_data,
        'MWSAuthToken' => mws_auth_token
      }

      operation(parameters, optional)
    end
Creates an order reference for the given object
 @see https://pay.amazon.com/documentation/apireference/201751630#201751670
 @param id [String]
 @param id_type [String]
 @optional inherit_shipping_address [Boolean]
 @optional confirm_now [Boolean]
 @optional amount [String] (required when confirm_now is set to true)
 @optional currency_code [String]
 @optional platform_id [String]
 @optional seller_note [String]
 @optional seller_order_id [String]
 @optional store_name [String]
 @optional custom_information [String]
 @optional supplementary_data [String]
 @optional merchant_id [String]
 @optional mws_auth_token [String]