Skip to content

Commit dfff6a7

Browse files
Auto-generated v20 API changes
1 parent 49615d7 commit dfff6a7

File tree

279 files changed

+39350
-20016
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

279 files changed

+39350
-20016
lines changed

LICENSE.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2017 OANDA
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

pom.xml

Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
<groupId>com.oanda.v20</groupId>
4+
<artifactId>v20</artifactId>
5+
<version>3.0.13</version>
6+
7+
<packaging>jar</packaging>
8+
9+
<properties>
10+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
11+
</properties>
12+
13+
<name>v20 client libraries</name>
14+
<description>The Java reference implementation of the v20 API</description>
15+
<url>https://github.com/oanda/v20-java</url>
16+
17+
<licenses>
18+
<license>
19+
<name>The MIT License (MIT)</name>
20+
<url>https://github.com/oanda/v20-java/blob/master/LICENSE.txt</url>
21+
</license>
22+
</licenses>
23+
24+
<organization>
25+
<name>OANDA Corporation</name>
26+
<url>https://www.oanda.com</url>
27+
</organization>
28+
29+
<developers>
30+
<developer>
31+
<id>oanda-api</id>
32+
<name>OANDA API</name>
33+
<email>[email protected]</email>
34+
<roles>
35+
<role>architect</role>
36+
<role>developer</role>
37+
</roles>
38+
</developer>
39+
</developers>
40+
41+
<scm>
42+
<connection>https://github.com/oanda/v20-java.git</connection>
43+
<developerConnection>https://github.com/oanda/v20-java.git</developerConnection>
44+
<tag>3.0.13</tag>
45+
<url>https://github.com/oanda/v20-java</url>
46+
</scm>
47+
48+
<distributionManagement>
49+
<snapshotRepository>
50+
<id>ossrh</id>
51+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
52+
</snapshotRepository>
53+
</distributionManagement>
54+
55+
<build>
56+
<sourceDirectory>src</sourceDirectory>
57+
<testSourceDirectory>test</testSourceDirectory>
58+
<resources>
59+
<resource>
60+
<directory>src</directory>
61+
<excludes>
62+
<exclude>**/*.java</exclude>
63+
</excludes>
64+
</resource>
65+
</resources>
66+
67+
<plugins>
68+
<plugin>
69+
<artifactId>maven-compiler-plugin</artifactId>
70+
<version>3.1</version>
71+
<configuration>
72+
<source>1.7</source>
73+
<target>1.7</target>
74+
</configuration>
75+
</plugin>
76+
77+
<plugin>
78+
<groupId>org.sonatype.plugins</groupId>
79+
<artifactId>nexus-staging-maven-plugin</artifactId>
80+
<version>1.6.7</version>
81+
<extensions>true</extensions>
82+
<configuration>
83+
<serverId>ossrh</serverId>
84+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
85+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
86+
</configuration>
87+
</plugin>
88+
</plugins>
89+
</build>
90+
91+
<dependencies>
92+
<dependency>
93+
<groupId>com.google.code.gson</groupId>
94+
<artifactId>gson</artifactId>
95+
<version>2.7</version>
96+
</dependency>
97+
<dependency>
98+
<groupId>org.apache.httpcomponents</groupId>
99+
<artifactId>httpclient</artifactId>
100+
<version>4.3.5</version>
101+
</dependency>
102+
</dependencies>
103+
104+
<profiles>
105+
<profile>
106+
<id>release</id>
107+
<build>
108+
<plugins>
109+
<plugin>
110+
<groupId>org.apache.maven.plugins</groupId>
111+
<artifactId>maven-source-plugin</artifactId>
112+
<version>2.2.1</version>
113+
<executions>
114+
<execution>
115+
<id>attach-sources</id>
116+
<goals>
117+
<goal>jar-no-fork</goal>
118+
</goals>
119+
</execution>
120+
</executions>
121+
</plugin>
122+
123+
<plugin>
124+
<groupId>org.apache.maven.plugins</groupId>
125+
<artifactId>maven-javadoc-plugin</artifactId>
126+
<version>2.9.1</version>
127+
<executions>
128+
<execution>
129+
<id>attach-javadocs</id>
130+
<goals>
131+
<goal>jar</goal>
132+
</goals>
133+
</execution>
134+
</executions>
135+
</plugin>
136+
137+
<plugin>
138+
<groupId>org.apache.maven.plugins</groupId>
139+
<artifactId>maven-gpg-plugin</artifactId>
140+
<version>1.5</version>
141+
<executions>
142+
<execution>
143+
<id>sign-artifacts</id>
144+
<phase>verify</phase>
145+
<goals>
146+
<goal>sign</goal>
147+
</goals>
148+
</execution>
149+
</executions>
150+
</plugin>
151+
</plugins>
152+
</build>
153+
</profile>
154+
155+
<profile>
156+
<id>alternateBuildDir</id>
157+
<activation>
158+
<property>
159+
<name>alt.build.dir</name>
160+
</property>
161+
</activation>
162+
<build>
163+
<directory>${alt.build.dir}</directory>
164+
</build>
165+
</profile>
166+
167+
</profiles>
168+
169+
</project>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package com.oanda.v20;
2+
3+
/**
4+
* DateTime header
5+
*/
6+
public enum AcceptDatetimeFormat {
7+
8+
/**
9+
* If "UNIX" is specified DateTime fields will be specified or returned in
10+
* the "12345678.000000123" format.
11+
*/
12+
UNIX,
13+
14+
/**
15+
* If "RFC3339" is specified DateTime will be specified or returned in
16+
* "YYYY-MM-DDTHH:MM:SS.nnnnnnnnnZ" format.
17+
*/
18+
RFC3339
19+
20+
}

0 commit comments

Comments
 (0)