-
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.
- Loading branch information
Showing
10 changed files
with
135 additions
and
8 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import type { CollectionGraphLinks, CollectionGraphProps } from '../../core/defaults'; | ||
import type { StoreShippingMethod } from './store_shipping_method'; | ||
import type { Graph } from '../../core'; | ||
|
||
export interface StoreShippingMethods extends Graph { | ||
curie: 'fx:store_shipping_methods'; | ||
links: CollectionGraphLinks<StoreShippingMethods>; | ||
props: CollectionGraphProps; | ||
child: StoreShippingMethod; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import type { CollectionGraphLinks, CollectionGraphProps } from '../../core/defaults'; | ||
import type { TransactionJournalEntry } from './transaction_journal_entry'; | ||
import type { Graph } from '../../core'; | ||
|
||
export interface TransactionJournalEntries extends Graph { | ||
curie: 'fx:transaction_journal_entries'; | ||
links: CollectionGraphLinks<TransactionJournalEntries>; | ||
props: CollectionGraphProps; | ||
child: TransactionJournalEntry; | ||
} |
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,32 @@ | ||
import type { TransactionLog } from './transaction_log'; | ||
import type { Transaction } from './transaction'; | ||
import type { Graph } from '../../core'; | ||
import type { Store } from './store'; | ||
|
||
export interface TransactionJournalEntry extends Graph { | ||
curie: 'fx:transaction_journal_entry'; | ||
|
||
links: { | ||
/** This resource. */ | ||
'self': TransactionJournalEntry; | ||
/** Relared store resource. */ | ||
'fx:store': Store; | ||
/** Related transaction resource. */ | ||
'fx:transaction': Transaction; | ||
/** Related transaction log. */ | ||
'fx:transaction_log': TransactionLog; | ||
}; | ||
|
||
props: { | ||
/** The value of money that should be transferred to or from the merchant's bank account (or comparable). Note that voids or refunds will result in a negative number. */ | ||
amount: number; | ||
/** If custom transaction IDs, prefixes, or suffixes have been configured, this value will contain the custom ID (which may be a string). Otherwise it will be identical to the id value (an integer). */ | ||
display_id: string | number; | ||
/** The date this resource was created. */ | ||
date_created: string | null; | ||
}; | ||
|
||
zooms: { | ||
transaction_logs?: TransactionLog; | ||
}; | ||
} |
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