-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Regenerate based on OpenAPI spec (#41)
- Loading branch information
Showing
23 changed files
with
2,603 additions
and
35 deletions.
There are no files selected for viewing
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
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
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
99 changes: 99 additions & 0 deletions
99
src/main/java/com/gr4vy/api/model/ConnectionOptionsCybersourceCard.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
/* | ||
* Gr4vy API | ||
* Welcome to the Gr4vy API reference documentation. Our API is still very much a work in product and subject to change. | ||
* | ||
* The version of the OpenAPI document: 1.1.0-beta | ||
* Contact: code@gr4vy.com | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
package com.gr4vy.api.model; | ||
|
||
import java.util.Objects; | ||
import java.util.Arrays; | ||
import com.google.gson.TypeAdapter; | ||
import com.google.gson.annotations.JsonAdapter; | ||
import com.google.gson.annotations.SerializedName; | ||
import com.google.gson.stream.JsonReader; | ||
import com.google.gson.stream.JsonWriter; | ||
import io.swagger.annotations.ApiModel; | ||
import io.swagger.annotations.ApiModelProperty; | ||
import java.io.IOException; | ||
|
||
/** | ||
* Additional options for Cybersource payment gateway. | ||
*/ | ||
@ApiModel(description = "Additional options for Cybersource payment gateway.") | ||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") | ||
public class ConnectionOptionsCybersourceCard { | ||
public static final String SERIALIZED_NAME_META_KEY_MERCHANT_ID = "meta_key_merchant_id"; | ||
@SerializedName(SERIALIZED_NAME_META_KEY_MERCHANT_ID) | ||
private String metaKeyMerchantId; | ||
|
||
|
||
public ConnectionOptionsCybersourceCard metaKeyMerchantId(String metaKeyMerchantId) { | ||
|
||
this.metaKeyMerchantId = metaKeyMerchantId; | ||
return this; | ||
} | ||
|
||
/** | ||
* An override for the merchant ID configured for the connector, used in combination with meta keys. | ||
* @return metaKeyMerchantId | ||
**/ | ||
@javax.annotation.Nullable | ||
@ApiModelProperty(value = "An override for the merchant ID configured for the connector, used in combination with meta keys.") | ||
|
||
public String getMetaKeyMerchantId() { | ||
return metaKeyMerchantId; | ||
} | ||
|
||
|
||
public void setMetaKeyMerchantId(String metaKeyMerchantId) { | ||
this.metaKeyMerchantId = metaKeyMerchantId; | ||
} | ||
|
||
|
||
@Override | ||
public boolean equals(Object o) { | ||
if (this == o) { | ||
return true; | ||
} | ||
if (o == null || getClass() != o.getClass()) { | ||
return false; | ||
} | ||
ConnectionOptionsCybersourceCard connectionOptionsCybersourceCard = (ConnectionOptionsCybersourceCard) o; | ||
return Objects.equals(this.metaKeyMerchantId, connectionOptionsCybersourceCard.metaKeyMerchantId); | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
return Objects.hash(metaKeyMerchantId); | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
StringBuilder sb = new StringBuilder(); | ||
sb.append("class ConnectionOptionsCybersourceCard {\n"); | ||
sb.append(" metaKeyMerchantId: ").append(toIndentedString(metaKeyMerchantId)).append("\n"); | ||
sb.append("}"); | ||
return sb.toString(); | ||
} | ||
|
||
/** | ||
* Convert the given object to string with each line indented by 4 spaces | ||
* (except the first line). | ||
*/ | ||
private String toIndentedString(Object o) { | ||
if (o == null) { | ||
return "null"; | ||
} | ||
return o.toString().replace("\n", "\n "); | ||
} | ||
|
||
} | ||
|
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
Oops, something went wrong.