def transaction_location_id=(transaction_location_id)
      if transaction_location_id.nil?
        fail ArgumentError, "transaction_location_id cannot be nil"
      end

      if transaction_location_id.to_s.length < 1
        fail ArgumentError, "invalid value for 'transaction_location_id', the character length must be great than or equal to 1."
      end

      @transaction_location_id = transaction_location_id
    end
def transaction_location_id=(transaction_location_id)
      if transaction_location_id.nil?
        fail ArgumentError, "transaction_location_id cannot be nil"
      end

      if transaction_location_id.to_s.length < 1
        fail ArgumentError, "invalid value for 'transaction_location_id', the character length must be great than or equal to 1."
      end

      @transaction_location_id = transaction_location_id
    end
Custom attribute writer method with validation
 @param [Object] transaction_location_id Value to be assigned