This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package attachable; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Random; | |
import java.io.File; | |
import java.io.FileNotFoundException; | |
import java.io.InputStream; | |
import java.io.FileInputStream; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//string body = "{\"amount\": \"10.55\",\"token\": \"s2ZJuHhJQkZMXBngU7fP00At21c\",\"currency\": \"USD\"}"; | |
//string responseXML = ExecutePaymentsCharge(consumerKey, consumerSecret, accessToken, accessSecret, realmId, body); | |
public static string ExecutePaymentsCharge(string consumerKey, string consumerSecret, string accessToken, string accessTokenSecret, string realmId, string body) | |
{ | |
string uri = string.Format("https://sandbox.api.intuit.com/quickbooks/v4/payments/charges"); | |
HttpWebRequest httpWebRequest = WebRequest.Create(uri) as HttpWebRequest; | |
httpWebRequest.Headers.Add("Request-Id", "iuy87t79t3861796t87r670"); | |
httpWebRequest.Method = "POST"; | |
httpWebRequest.Accept = "application/json"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright Intuit, Inc 2012 | |
// SAML Sample Application | |
// This sample is for reference purposes only. | |
// Copyright (c) 2014 Intuit Inc. All rights reserved. | |
// Redistribution and use in source and binary forms, with or without modification, are permitted in conjunction | |
// with Intuit Partner Platform. | |
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DevDefined.OAuth.Consumer; | |
using DevDefined.OAuth.Framework; | |
using System.IO; | |
using System.Text; | |
using System.Net; | |
using Intuit.Ipp.DataService; | |
using Intuit.Ipp.Security; | |
using System.Web; | |
namespace IPPQbApiConsoleApp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2014 Intuit Partner Platform | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of | |
# this software and associated documentation files (the "Software"), to deal in | |
# the Software without restriction, including without limitation the rights to | |
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
# the Software, and to permit persons to whom the Software is furnished to do so, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DevDefined.OAuth.Consumer; | |
using DevDefined.OAuth.Framework; | |
using System.IO; | |
using System.Text; | |
using System.Net; | |
namespace IPPQbApiConsoleApp | |
{ | |
static class SampleCalls | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Intuit.Ipp.Core; | |
using Intuit.Ipp.Data; | |
using Intuit.Ipp.ReportService; | |
static class SampleCalls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once('../config.php'); | |
require_once(PATH_SDK_ROOT . 'Core/ServiceContext.php'); | |
require_once(PATH_SDK_ROOT . 'PlatformService/PlatformService.php'); | |
require_once(PATH_SDK_ROOT . 'Utility/Configuration/ConfigurationManager.php'); | |
// Tell us whether to use your QBO vs QBD settings, from App.config | |
$serviceType = IntuitServicesType::QBD; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DevDefined.OAuth.Consumer; | |
using DevDefined.OAuth.Framework; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Runtime.Serialization.Formatters.Binary; | |
using System.Net; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DevDefined.OAuth.Consumer; | |
using DevDefined.OAuth.Framework; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Runtime.Serialization.Formatters.Binary; | |
using System.Net; |