Skip to content

Commit eeaf0ba

Browse files
Chore: Clean up
1 parent f71ee79 commit eeaf0ba

File tree

11 files changed

+7
-23
lines changed

11 files changed

+7
-23
lines changed

dist/doc/guides/terminal-flutter/create-models.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
1-
const paystack_intent_response = `
2-
// PaystackIntentResponse.kt
1+
const paystack_intent_response = `// PaystackIntentResponse.kt
32
data class PaystackIntentResponse (
43
val intentKey: String,
54
val intentResponseCode: Int,
65
val intentResponse: TerminalResponse
76
)`
87

9-
const terminal_response = `
10-
// TerminalResponse.kt
8+
const terminal_response = `// TerminalResponse.kt
119
data class TerminalResponse(
1210
val statusCode: String,
1311
val message: String,
1412
val data: String
1513
)`
1614

17-
const transaction_request = `
18-
// TransactionRequest.kt
15+
const transaction_request = `// TransactionRequest.kt
1916
data class TransactionRequest(
2017
val amount: Int,
2118
val offlineReference: String?,

dist/doc/guides/terminal-react-native/create-models.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
const paystack_intent_response = `
2-
// PaystackIntentResponse.java
1+
const paystack_intent_response = `// PaystackIntentResponse.java
32
public class PaystackIntentResponse {
43
private final String intentkey;
54
private final int intentResponseCode;
@@ -24,8 +23,7 @@ public class PaystackIntentResponse {
2423
}
2524
}`
2625

27-
const terminal_response = `
28-
// TerminalResponse.java
26+
const terminal_response = `// TerminalResponse.java
2927
public class TerminalResponse {
3028
private final String statusCode;
3129
private final String message;
@@ -50,8 +48,7 @@ public class TerminalResponse {
5048
}
5149
}`
5250

53-
const transaction_request = `
54-
// TransactionRequest.java
51+
const transaction_request = `// TransactionRequest.java
5552
import java.util.Map;
5653
5754
public class TransactionRequest {
@@ -70,8 +67,7 @@ public class TransactionRequest {
7067
}
7168
}`
7269

73-
const transaction_response = `
74-
// TransactionResponse.java
70+
const transaction_response = `// TransactionResponse.java
7571
import com.google.gson.annotations.SerializedName;
7672
7773
public class TransactionResponse {

dist/doc/guides/terminal-react-native/use-module/usage.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
const js = `const onPress = async () => {
22
PaystackModule.makePayment(3000, transactionReference => {
33
console.log('transaction ref: ', transactionReference);
4-
54
});
65
};`
76

src/doc/guides/terminal-flutter/create-models/paystack-intent-response.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
// PaystackIntentResponse.kt
32
data class PaystackIntentResponse (
43
val intentKey: String,

src/doc/guides/terminal-flutter/create-models/terminal-response.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
// TerminalResponse.kt
32
data class TerminalResponse(
43
val statusCode: String,

src/doc/guides/terminal-flutter/create-models/transaction-request.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
// TransactionRequest.kt
32
data class TransactionRequest(
43
val amount: Int,

src/doc/guides/terminal-react-native/create-models/paystack-intent-response.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
// PaystackIntentResponse.java
32
public class PaystackIntentResponse {
43
private final String intentkey;

src/doc/guides/terminal-react-native/create-models/terminal-response.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
// TerminalResponse.java
32
public class TerminalResponse {
43
private final String statusCode;

src/doc/guides/terminal-react-native/create-models/transaction-request.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
// TransactionRequest.java
32
import java.util.Map;
43

src/doc/guides/terminal-react-native/create-models/transaction-response.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
// TransactionResponse.java
32
import com.google.gson.annotations.SerializedName;
43

0 commit comments

Comments
 (0)