-
Notifications
You must be signed in to change notification settings - Fork 990
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MBL-1466: Create graphQL confirm address mutation (#2053)
* Add support for create or update backing address mutation * linter --------- Co-authored-by: Leigh Douglas <[email protected]>
- Loading branch information
1 parent
28f9b43
commit 1a9059c
Showing
5 changed files
with
66 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
mutation CreateOrUpdateBackingAddress($input: CreateOrUpdateBackingAddressInput!) { | ||
createOrUpdateBackingAddress(input : $input) { | ||
success | ||
} | ||
} |
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
11 changes: 11 additions & 0 deletions
11
app/src/main/java/com/kickstarter/services/mutations/CreateOrUpdateBackingAddressData.kt
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,11 @@ | ||
package com.kickstarter.services.mutations | ||
|
||
/*** | ||
* CreateOrUpdateBackingAddressData is the corresponding internal data model to the GraphQL model | ||
* [CreateOrUpdateBackingAddressInput] | ||
*/ | ||
data class CreateOrUpdateBackingAddressData( | ||
val backingId: String, | ||
val addressID: String, | ||
val clientMutationId: String? = null | ||
) |
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