Skip to content

Commit

Permalink
Remove Credit Card
Browse files Browse the repository at this point in the history
  • Loading branch information
MNThomson committed Aug 24, 2022
1 parent 0e2dedb commit 1162e92
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,38 +111,6 @@ Use the navigation to the right to read about the available resources.
Required: true,
Type: types.StringType,
},
"credit_card": {
Description: "Your actual credit card THAT WILL GET CHARGED.",
Optional: true,
Sensitive: true,
Attributes: tfsdk.SingleNestedAttributes(map[string]tfsdk.Attribute{
"number": {
Description: "The credit card number.",
Type: types.Int64Type,
Required: true,
},
"cvv": {
Description: "The credit card CVV.",
Type: types.Int64Type,
Required: true,
},
"date": {
Description: "The credit card expiration date.",
Type: types.StringType,
Required: true,
},
"postal_code": {
Description: "The postal code attached to the credit card.",
Type: types.StringType,
Required: true,
},
"card_type": {
Description: "The credit card type. Default: 'VISA'.",
Type: types.StringType,
Optional: true,
},
}),
},
},
}, nil
}
Expand Down

0 comments on commit 1162e92

Please sign in to comment.