-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #168 from cardano-foundation/chore/split_organisat…
…ion_endpoint chore: split organisation endpoint in create and update
- Loading branch information
Showing
11 changed files
with
406 additions
and
201 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
131 changes: 0 additions & 131 deletions
131
...test/java/org/cardanofoundation/lob/app/organisation/service/OrganisationServiceTest.java
This file was deleted.
Oops, something went wrong.
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
46 changes: 46 additions & 0 deletions
46
...in/java/org/cardanofoundation/lob/app/organisation/domain/request/OrganisationUpdate.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,46 @@ | ||
package org.cardanofoundation.lob.app.organisation.domain.request; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
|
||
@Getter | ||
@Setter | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public class OrganisationUpdate { | ||
|
||
@Schema(example = "My company name") | ||
private String name; | ||
|
||
@Schema(example = "Ballyhealy") | ||
private String city; | ||
|
||
@Schema(example = "Y35 C6KC") | ||
private String postCode; | ||
|
||
@Schema(example = "Co. Wexford") | ||
private String province; | ||
|
||
@Schema(example = "Ballyhealy Cottage") | ||
private String address; | ||
|
||
@Schema(example = "0035863286566") | ||
private String phoneNumber; | ||
|
||
@Schema(example = "[email protected]") | ||
private String adminEmail; | ||
|
||
@Schema(example = "http://cardanofoundation.org") | ||
private String websiteUrl; | ||
|
||
@Schema(example = "ISO_4217:CHF") | ||
private String currencyId; | ||
|
||
@Schema(example = "ISO_4217:CHF") | ||
private String reportCurrencyId; | ||
|
||
} |
Oops, something went wrong.