Skip to content

Commit

Permalink
Merge pull request #320 from szprutamich/master
Browse files Browse the repository at this point in the history
Version 2.43 - update
  • Loading branch information
snieguu authored Aug 10, 2017
2 parents 9fa0dae + 48432ee commit 95d8c50
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.testdroid</groupId>
<artifactId>testdroid-api</artifactId>
<version>2.43-SNAPSHOT</version>
<version>2.43</version>
<packaging>jar</packaging>
<name>Testdroid API v2</name>
<url>https://github.com/bitbar/testdroid-api</url>
Expand Down
23 changes: 19 additions & 4 deletions src/main/java/com/testdroid/api/model/enums/APIPaymentMethod.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
package com.testdroid.api.model.enums;

import static java.lang.Boolean.*;
/**
* @author Łukasz Kajda <[email protected]>
*/
public enum APIPaymentMethod {
PAYPAL,
BRAINTREE,
INVOICE,
BRAINTREE(TRUE),
INVOICE(FALSE),
PROMOTION,
BLUEMIX,
AWS
BLUEMIX(TRUE),
AWS(FALSE);

private Boolean allowUpdate;

private APIPaymentMethod(){

}

private APIPaymentMethod(Boolean allowUpdate){
this.allowUpdate = allowUpdate;
}

public Boolean getAllowUpdate() {
return allowUpdate;
}
}

0 comments on commit 95d8c50

Please sign in to comment.